User`s guide

Table Of Contents
rmodel, rss
11-189
11rmodel, rss
Purpose Generate stable random continuous test models
Syntax sys = rss(n)
sys = rss(n,p)
sys = rss(n,p,m)
sys = rss(n,p,m,s1,...,sn)
[num,den] = rmodel(n)
[A,B,C,D] = rmodel(n)
[A,B,C,D] = rmodel(n,p,m)
Description rss(n) produces a stable random n-th order model wit h one input and one
output and returns the model in the state-space object
sys.
rss(n,p) produces a random nth order stable model with one input and p
outputs, and rss(n,m,p) produces a random n-th order stable model with m
inputs and p outputs. The output sys is always a state-space model.
rss(n,p,m,s1,...,sn)produces an s1-by-...-by-sn array of ran dom n -th
order stable state-space models with
m inputs and p outputs.
Use
tf, frd,orzpk to convert the state-space object sys to transfer function,
frequency response, or zero-pole-gain form.
rmodel(n) produces a random n-th order stable model and returns either the
transfer function numerator
num and denominator den or the state-space
matrices
A, B, C,andD, depending on the number of output arguments. The
resulting model always has one input and one output.
[A,B,C,D] = rmodel(n,m,p) produces a stable random nth order state-space
model with
m inputs and p outputs.