sdo.requirements.PZNaturalFrequency class
Package: sdo.requirements
Natural frequency bound
Description
Specify bounds on the natural frequency of the poles of a linear
system. You can then optimize the model response to meet these bounds
using sdo.optimize
.
You must have Simulink® Control Design™ software to specify natural frequency requirements.
Construction
creates a pznatfreq_req
= sdo.requirements.PZNaturalFrequencysdo.requirements.PZNaturalFrequency
object and
assigns default values to its properties.
uses additional options specified by one or more
pznatfreq_req
=
sdo.requirements.pznatfreq_req
(Name,Value
)Name,Value
pair arguments.
Name
is a property name and
Value
is the corresponding
value. Name
must appear inside single
quotes (''
). You can specify several
name-value pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
Input Arguments
Name-Value ArgumentsSpecify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Use Name,Value
arguments to specify properties of the
requirement object during object creation. For example, requirement
= sdo.requirements.PZNaturalFrequency('Type','>=')
creates
an sdo.requirements.PZNaturalFrequency
object
and specifies the Type
property as a lower bound.
Properties
|
Requirement description, specified as a character vector. For
example, Default: |
|
Frequency units of the requirement, specified as one of the following values:
Default: |
|
Requirement name, specified as a character vector. Default: |
|
Natural frequency bound. Must be in radians/second and a positive finite scalar. Default: |
|
Natural frequency bound type, specified as one of the following values:
Default: |
Methods
evalRequirement | Evaluate natural frequency bound on linear system |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.
Examples
Construct a natural frequency object and specify the natural frequency.
r = sdo.requirements.PZNaturalFrequency; r.NaturalFrequency = 1;
Alternatively, you can specify the natural frequency during construction.
r = sdo.requirements.PZNaturalFrequency(... 'NaturalFrequency',1);
Alternatives
Use getbounds
to get the
bounds specified in a Check Pole-Zero Characteristics (Simulink Control Design) block.