Documentation

evalRequirement

Class: sdo.requirements.SingularValue
Package: sdo.requirements

Evaluate singular value bound on linear system

Syntax

c = evalRequirement(req,lin_sys)

Description

c = evalRequirement(req,lin_sys) evaluates whether a linear system satisfies the specified singular values bound.

Input Arguments

req

sdo.requirements.SingularValue 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 indicate 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 singular value requirement.

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

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

Was this topic helpful?