www.gusucode.com > control 案例程序 matlab源码代码 > control/InputPassivityInSpecifiedFrequencyRangesExample.m

    %% Input Passivity in Specified Frequency Range
% Create a requirement that ensures that the response from an input |'u'|
% to an output |'y'| is input strictly passive, with an excess of passivity
% of 2.
%%
TGi = TuningGoal.Passivity('u','y',2,0);
%%
% Restrict the requirement to apply only within the frequency range between
% 0 and 10 rad/s.
TGi.Focus = [0 10];
%%