Package: sdo.requirements
Piecewise-linear amplitude bound
Specify piecewise-linear upper or lower amplitude bounds on
a time-domain signal. You can then optimize the model response to
meet these bounds using sdo.optimize
.
You can include multiple linear edges, and extend to + or –inf
.
creates an sig_req
= sdo.requirements.SignalBoundsdo.requirements.SignalBound
object and assigns default
values to its properties.
uses additional options specified by one or more sig_req
=
sdo.requirements.SignalBound(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
.
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
Use Name,Value
arguments to specify properties of the
requirement object during object creation. For example, requirement
= sdo.requirements.SignalBound('Type','>=')
creates
an sdo.requirements.SignalBound
object and
specifies the Type
property as a lower bound.
|
Magnitude values for the piecewise-linear bound. Specify the start and end magnitude values for all edges in
the bound. The property must be a Use Default: |
|
Time values of the piecewise-linear bound. Specify the start and end times for all the edges in the piecewise-linear
bound. The property must be a Use Default: |
|
Requirement description, specified as a character vector. For
example, Default: |
|
Requirement name, specified as a character vector. Default: |
|
Extend bound in a negative or positive time direction. Specify whether the first and last edge of the bound extends
to Must be a Default: |
|
Time units of the requirement, specified as one of the following values:
Default: |
|
Bound type Specify whether the piecewise-linear requirement is an upper or lower bound, specified as one of the following values:
Default: |
evalRequirement | Evaluate piecewise-linear bound |
Construct a signal bound object and specify piecewise-linear bounds.
r = sdo.requirements.SignalBound; set(r,'BoundTimes', [0 10; 10 20],... 'BoundMagnitudes', [1.1 1.1; 1.01 1.01])
Alternatively, you can specify the bounds during construction:
r = sdo.requirements.SignalBound(... 'BoundTimes',[0 10; 10 20],... 'BoundMagnitudes',[1.1 1.1; 1.01 1.01]);
Use getbounds
to get the
bounds specified in a Check Custom Bounds block.