Categories &

Functions List

Function Reference: ssdata

Function File: [a, b, c, d, tsam] = ssdata (sys)

Access state-space model data. Argument sys is not limited to state-space models. If sys is not a state-space model, it is converted automatically. sys can also be a real-valued matrix which is then interpreted as continuous-time static gain system.

Inputs

sys
Any type of LTI model or a real-valued matrix which is interpreted as continous-time static gain.

Outputs

a
State matrix (n-by-n).
b
Input matrix (n-by-m).
c
Measurement matrix (p-by-n).
d
Feedthrough matrix (p-by-m).
tsam
Sampling time in seconds. If sys is a continuous-time model, a zero is returned.

Compatibility issue

If sys is given by an input-output description, like, e.g., a transfer function, the resulting state-space model has a different form than the one provided by Matlab, see @ss/ss for details.

Source Code: ssdata