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.
Linear system (tf, ss, zpk, frd, genss, or genfrd).
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.