ss
State-space model.
📝 Syntax
- sys = ss(A, B, C, D) 
- sys = ss(A, B, C, D, TS) 
- sys = ss(D) 
- sys = ss(sysIn) 
📥 Input argument
- A - State matrix: Nx-by-Nx matrix. 
- B - Input-to-state matrix: Nx-by-Nu matrix. 
- C - State-to-output matrix: Ny-by-Nx matrix. 
- D - Feedthrough matrix: Ny-by-Nu matrix. 
- TS - Sample time: scalar. 
- sysIn - SISO LTI model. 
📤 Output argument
- sys - Output state space system model. 
📄 Description
Creates a continuous-time state-space model using matrices A, B, C, and D, allowing for either real or complex-valued matrices.
This model is represented as sys = ss(A, B, C, D).
💡 Examples
A = [-15,-20; 10, 0];
B = [5; 0];
C = [0, 1];
D = 0;
sys = ss(A, B, C, D)num = [3 4];
den = [3 1 5];
Ts = 0.2;
sysIn = tf(num, den, Ts)
sys = ss(sysIn)🔗 See also
tf.
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?
