evalRequirement
Class: sdo.requirements.BodeMagnitude
Package: sdo.requirements
Evaluate Bode magnitude bound for linear system
Syntax
c = evalRequirement(req,lin_sys)
Description
evaluate
whether a linear system satisfies the specified piecewise-linear Bode
magnitude bound.c
= evalRequirement(req
,lin_sys
)
Input Arguments
|
For MIMO systems, the bound applies to each input/output (I/O) channel. |
|
Linear system ( |
Output Arguments
|
Column vector indicating the maximum signed distance of the
system gain to each edge specified in 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.