It is often convenient to just sketch the asymptotes of the desired gain profile. For
example, instead of the transfer function , we could just specify gain values of
0.01,1,0.01 at the frequencies 0.01,1,100, the point (1,1) being the breakpoint of the two
asymptotes and.
Asymptotes = frd([0.01,1,0.01],[0.01,1,100]);
R2 = TuningGoal.Gain('d','y',Asymptotes);
The requirement object automatically turns this discrete gain profile into a gain limit
defined at all frequencies.
bodemag(Asymptotes,R2.MaxGain)
legend('Specified','Interpolated')
13 Control System Tuning Examples