4.1. THE HIMAT EXAMPLE 135
Zeros:
real imaginary frequency damping
(rad/sec) ratio
-2.2516e-02 0.0000e+00 2.2516e-02 1.0000
-1.7226e+00 0.0000e+00 1.7226e+00 1.0000
-3.0272e+00 0.0000e+00 3.0272e+00 1.0000
-3.1034e+01 0.0000e+00 3.1034e+01 1.0000
-1.0000e+04 0.0000e+00 1.0000e+04 1.0000
-1.0000e+04 0.0000e+00 1.0000e+04 1.0000
Next, a magnitude plot of the frequency response of k1 is plotted to check that it looks
reasonable.
om2 = logspace(0.5,5000,25)
k1
g = freq(k1,om2)
comment k1
g "frequency response of k1"
comment om2 "frequency vector (Hz)"
gph2 = ctrlplot(k1
g,{bode});
gph2 = plot(gph2,{title="Controller: k1"})?