FUNCTION REFERENCE
ss
Create a finite real state-space value with SISO or MIMO inputs and outputs.
Create a finite real state-space value with SISO or MIMO inputs and outputs.
Syntax
S = ss(A, B, C, D, Ts); S = ss(sys)`S=ss(A,B,C,D[,Ts])`, `S=ss(sys)`.
The model is x'=A*x+B*u, y=C*x+D*u in continuous time; sampled models advance
one interval instead of differentiating. A is n by n, B is n by inputs,
C is outputs by n, and D is outputs by inputs. Empty state matrices admit
static gains. A/B/C/D and StateName are readable and writable alongside the
common properties described under tf. StateName accepts one label per state.
Assignment shares immutable arrays until a property is replaced.
At most 1024 states and 1048576 total matrix entries. Augmented sampling
matrices are limited to 1024 dimensions. Ordinary realizations require proper
transfer functions. MIMO conversion from tf or zpk builds a direct sum of
channel realizations. Polynomial conversions have a 256-state bound and can
lose relative accuracy for nearly cancelling coefficients. Arithmetic,
feedback and zero require SISO. A model can have up to 4096 ports per axis.
Selecting I/O channels retains A and StateName. For static gains,
ss([],[],[],D) infers empty state dimensions from D. A scalar zero D expands
to the model's output-by-input zero matrix.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.