sys = ss(A, B, C, D)
sys = ss(A, B, C, D, TS)
sys = ss(D)
sys = ss(sysIn)
| Parameter | Description |
|---|---|
| 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. |
| Parameter | Description |
|---|---|
| sys | Output state space system model. |
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).
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)
| Version | Description |
|---|---|
| 1.0.0 | initial version |