modalstate 293
modalstateSyntax
outsys = modalstate(sys, {keywords})
Parameter Li st
Inputs: sys Input Dynamic System
Keywords: increasing Boolea n. Order in terms of increasing magnitude (contin-
uous) or angle (discrete). Default = 1
decreasing Boolean. Order in terms of decreasing magnitude (contin-
uous) or angle (discrete). Default = 0
splitstable Boolean. Separatethe stable from the unstable modes and
order separately. Default = 0.
Outputs: outsys output Dynamic System
Description
Transformthe system to give a block diagonal Amatrix, with complex eigenvalues in
2×2 blocks and real eigenvalues in 1×1 blocks. The system must be diagonalizableto
avoid introducing errors. The initial condition is also transformed. The state names are
deleted, however the input and output names, and period (if discrete) are preserved.
Example
sys = randsys(6,1,1,{stable})
rifd(sys)
Poles:
real imaginary frequency damping
(rad/sec) ratio