%% 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];

%
% Copyright 2012 The MathWorks, Inc.