randsys 329
randsys
Syntax
sys = randsys (nstates,noutputs,ninputs,{keywords})
Parameter List
Inputs: nstates number of states in sys
noutputs number of outputs in sys
ninputs number of inputs in sys
Keywords: stable Boolean. sys is forced to be stable (default = 1)
oscillatory Boolean. Oscillatory poles are allowed. (default = 1). !os-
cillatory gives only real eigenvalues (continuous) or positive
real eigenvalues (discrete).
discrete Boolean. Generate a discrete time system. (default = 0).
dt Sample period for discrete time system (default =
1/(2*Fmax)).
Fmax upper bound of sys pole frequencies (Hz) (default = 10 Hz
or = 1/(2*dt) if dt specified)
Fmin lower bound of sys poles frequencies (Hz) (default =
Fmax/100 Hz)
Dterm Select a random D term (default = 1: a D term is choosen)
linear
dist linear distribution of poles. The default is uniform (or
normal) distribution on a log frequency axis. A linear fre-
quency axis distribution may be more representative of
some systems.
Outputs: sys Random Dynamic System