User`s guide
Table Of Contents
- Preface
- Quick Start
- LTI Models
- Introduction
- Creating LTI Models
- LTI Properties
- Model Conversion
- Time Delays
- Simulink Block for LTI Systems
- References
- Operations on LTI Models
- Arrays of LTI Models
- Model Analysis Tools
- The LTI Viewer
- Introduction
- Getting Started Using the LTI Viewer: An Example
- The LTI Viewer Menus
- The Right-Click Menus
- The LTI Viewer Tools Menu
- Simulink LTI Viewer
- Control Design Tools
- The Root Locus Design GUI
- Introduction
- A Servomechanism Example
- Controller Design Using the Root Locus Design GUI
- Additional Root Locus Design GUI Features
- References
- Design Case Studies
- Reliable Computations
- Reference
- Category Tables
- acker
- append
- augstate
- balreal
- bode
- c2d
- canon
- care
- chgunits
- connect
- covar
- ctrb
- ctrbf
- d2c
- d2d
- damp
- dare
- dcgain
- delay2z
- dlqr
- dlyap
- drmodel, drss
- dsort
- dss
- dssdata
- esort
- estim
- evalfr
- feedback
- filt
- frd
- frdata
- freqresp
- gensig
- get
- gram
- hasdelay
- impulse
- initial
- inv
- isct, isdt
- isempty
- isproper
- issiso
- kalman
- kalmd
- lft
- lqgreg
- lqr
- lqrd
- lqry
- lsim
- ltiview
- lyap
- margin
- minreal
- modred
- ndims
- ngrid
- nichols
- norm
- nyquist
- obsv
- obsvf
- ord2
- pade
- parallel
- place
- pole
- pzmap
- reg
- reshape
- rlocfind
- rlocus
- rltool
- rmodel, rss
- series
- set
- sgrid
- sigma
- size
- sminreal
- ss
- ss2ss
- ssbal
- ssdata
- stack
- step
- tf
- tfdata
- totaldelay
- zero
- zgrid
- zpk
- zpkdata
- Index

drmodel, drss
11-62
11drmodel, drss
Purpose Generate stable random discrete test models
Syntax sys = drss(n)
sys = drss(n,p)
sys = drss(n,p,m)
sys = drss(n,p,m,s1,...sn)
[num,den] = drmodel(n)
[A,B,C,D] = drmodel(n)
[A,B,C,D] = drmodel(n,p,m)
Description sys = drss(n) produces a random n-th o rder stable model with one input and
one output, and returns the model in the state-space object
sys.
drss(n,p) produces a random n-th ord e r st able m ode l with one input a nd p
outputs.
drss(n,m,p) generates a random n-th order stable model with m inputs a nd p
outputs.
drss(n,p,m,s1,...sn) generates a s1–by– sn array of random n-th or der
stable model with
m inputs and p outputs.
In a ll cases, the discrete-time state-space model or array returned by
drss has
an unsp ecifi ed samp ling ti me. To generate tr ansfer function o r zero -p ole-g ain
systems, convert
sys using tf or zpk.
drmodel(n) produces a random n-th order stable model and returns either the
transfer function numerator
num and denomina tor den o r the state-space
matrices
A,B,C,andD, basedonthenumber ofoutputa rguments.The resulting
model always has one input a nd one output.
[A,B,C,D] = drmodel(n,m,p) produces a random n-th order stable
state-space model with
m inputs and p outputs.