Documentation Center

  • Trials
  • Product Updates

evalRequirement

Evaluate peak gain bound for linear system

Syntax

c = evalRequirement(req,lin_sys)

Description

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

req

sdo.requirements.ClosedLoopPeakGain object.

lin_sys

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

Output Arguments

c

  • 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.

Examples

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.

See Also

| | |

Was this topic helpful?