Documentation Center

  • Trial Software
  • Product Updates

evalRequirement

Class: sdo.requirements.PZDampingRatio
Package: sdo.requirements

Evaluate damping ratio bound on linear system

Syntax

c = evalRequirement(req,lin_sys)

Description

c = evalRequirement(req,lin_sys) evaluates whether the poles of a linear system satisfies the specified damping ratio bound.

Input Arguments

req

sdo.requirements.PZDampingRatio object.

lin_sys

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

Output Arguments

c

  • Signed distance of the damping ratio of each pole of the linear system to the bound, if the Type property of req is >=, <= or ==. Negative values indicate that the bound is satisfied while positive values indicate that the bound is violated. When ==, any value other than 0 indicates that the bound is violated.

  • Negative of the damping ratio such that minimizing the values maximizes the damping ratio, if the Type property of req is 'max'.

Examples

Evaluate damping ratio requirement.

 req = sdo.requirements.PZDampingRatio;
 sys = tf(0.5,[1 3 3 1]);
 c = evalRequirement(req,sys);

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

See Also

| |

Was this topic helpful?