Specifications

Table Of Contents
ss
16-207
with sample time Ts (in seconds). Set Ts = -1 or Ts = [] to leave the sample
time unspecified.
sys = ss(d) specifies a static gain matrix and is equivalent to
sys = ss([],[],[],d)
sys = ss(a,b,c,d,ltisys) creates a state-space model with generic LTI
properties inherited from the LTI model
ltisys (including the sample time).
See “Generic Properties” on page 2-26 for an overview of generic LTI
properties.
See “Building LTI Arrays” on page 4-12 for information on how to build arrays
of state-space models.
Any of the previous syntaxes can be followed by property name/property value
pairs.
'PropertyName',PropertyValue
Each pair specifies a particular LTI property of the model, for example, the
input names or some notes on the model history. See the
set entry and the
example below for details. Note that
sys = ss(a,b,c,d,'Property1',Value1,...,'PropertyN',ValueN)
is equivalent to the sequence of commands.
sys = ss(a,b,c,d)
set(sys,'Property1',Value1,...,'PropertyN',ValueN)
Conversion to State Space
sys_ss = ss(sys) converts an arbitrary TF or ZPK model sys to state space.
The output
sys_ss is an equivalent state-space model (SS object). This
operation is known as state-space realization.
sys_ss = ss(sys,'minimal') produces a state-space realization with no
uncontrollable or unobservable states. This is equivalent to
sys_ss =
minreal(ss(sys))
.
Examples Example 1
The command
D