User`s guide

Table Of Contents
ss
11-212
with sample time Ts (in seconds). Set Ts = –1 or Ts = [] to lea ve t he sample
time unspecified.
sys = ss(d) specif ies a stat ic g ain ma trix and is e quival ent to
sys = ss([],[],[],d)
sys = ss(a,b,c,d,ltisys) creates a state -space model wit h generic LTI
properties inherited from the LTI model
ltisys (including the sample time).
See “Generic Properties” on page 2-26 for an overview of g eneric LTI
properties.
See “Building L TI Array s” on pag e 4-12 f or informa tion o n how to bui ld arrays
of state-space models.
Any of the prev ious s yntax es can b e foll owed by property nam e/p rop ert y value
pairs.
'PropertyName',PropertyValue
Each pair specifies a p art icular L T I pro pe rty of t he m od el, for example, the
input names or some notes on the model history. See the
set entry an d 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 arbit rary 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. Thi s i s equivalent to
sys_ss =
minreal(ss(sys)).
D