User`s guide

Table Of Contents
drmodel, drss
11-63
Example Generate a ran dom discrete LTI system with three states, two inputs, and two
outputs.
sys = drss(3,2,2)
a =
x1 x2 x3
x1 0.38630 –0.21458 –0.09914
x2 –0.23390 –0.15220 –0.06572
x3 –0.03412 0.11394 –0.22618
b =
u1 u2
x1 0.98833 0.51551
x2 0 0.33395
x3 0.42350 0.43291
c =
x1 x2 x3
y1 0.22595 0.76037 0
y2 0 0 0
d =
u1 u2
y1 0 0.68085
y2 0.78333 0.46110
Sampling time: unspecified
Discrete-time system.
See Also rmodel, rss Generate stable random continuous test models
tf Convert LTI systems to transfer functions form
zpk Convert LTI systems to zero-pole-gain form