Documentation Center

  • Trial Software
  • Product Updates

evalRequirement

Class: sdo.requirements.BodeMagnitude
Package: sdo.requirements

Evaluate Bode magnitude bound for linear system

Syntax

c = evalRequirement(req,lin_sys)

Description

c = evalRequirement(req,lin_sys) evaluate whether a linear system satisfies the specified piecewise-linear Bode magnitude bound.

Input Arguments

req

sdo.requirements.BodeMagnitude object.

For MIMO systems, the bound applies to each input/output (I/O) channel.

lin_sys

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

Output Arguments

c

Column vector indicating the maximum signed distance of the system gain to each edge specified in req. Negative values indicate that the bound edge is satisfied and positive values that the bound edge is violated.

For MIMO systems, a matrix of signed distances where each column represents an I/O pair and gives the distance of that IO pair gain to each edge in the bounds.

Examples

Evaluate Bode magnitude requirement.

 req = sdo.requirements.BodeMagnitude;
 sys = tf(1,[1 2 2 1])
 c = evalRequirement(req,sys);

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

See Also

| | |

Was this topic helpful?