336 Chapter 6. Function Reference
Examples
sys1 = randsys(4,3,2,{stable})
rifd(sys1)
Poles:
real imaginary frequency damping
(rad/sec) ratio
-1.6847e+00 0.0000e+00 1.6847e+00 1.0000
-2.4383e+00 0.0000e+00 2.4383e+00 1.0000
-8.7457e+00 0.0000e+00 8.7457e+00 1.0000
-1.5041e+01 0.0000e+00 1.5041e+01 1.0000
Zeros:
ans (a scalar) = 0
# Compare rifd to A matrix eigenvalues
[a,b,c,d] = abcd(sys1)
Aeigs = eig(a)?
Aeigs (a column vector) =
-1.68474
-2.43829
-8.7457
-15.0408
rifd(Aeigs)
real imaginary frequency damping
(rad/sec) ratio
-1.6847e+00 0.0000e+00 1.6847e+00 1.0000
-2.4383e+00 0.0000e+00 2.4383e+00 1.0000
-8.7457e+00 0.0000e+00 8.7457e+00 1.0000
-1.5041e+01 0.0000e+00 1.5041e+01 1.0000