Main Content


Evaluate peak gain bound for linear system


c = evalRequirement(req,lin_sys)


c = evalRequirement(req,lin_sys) evaluates whether a linear system satisfies the specified peak gain (infinity norm of the system) bound. The closed loop is computed using the feedback sign specified in the FeedbackSign property of req.

Input Arguments


sdo.requirements.ClosedLoopPeakGain object.


Linear system (tf, ss, zpk, frd, genss, or genfrd).

Output Arguments


  • Signed distance of the closed-loop peak gain to the bound if the Type property of req is <= or ==. When <=, negative values indicate that the bound is satisfied while positive values indicate the bound is violated. When ==, any value other than 0 indicate that the bound is violated.

  • Peak gain if the Type property of req is min.


Evaluate peak gain requirement.

 req = sdo.requirements.ClosedLoopPeakGain;
 sys = tf(0.5,[1 3 3 1]);
 c = evalRequirement(req,sys);

c is negative, which indicates that the system satisfies the gain requirement.