Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Was this topic helpful?