Real tunable parameter
p = realp(paramname,initvalue)
p = realp(
creates
a tunable real-valued parameter with name specified by paramname
,initvalue
)paramname
and
initial value initvalue
. Tunable real parameters
can be scalar- or matrix- valued.
|
Name of the |
|
Initial numeric value of the parameter |
|
|
|
Name of the |
|
Value of the tunable parameter.
|
|
Lower bound for the parameter value. The dimension of the For matrix-valued parameters, use indexing to specify lower bounds on individual elements: p = realp('K',eye(2)); p.Minimum([1 4]) = -5; Use scalar expansion to set the same lower bound for all matrix elements: p.Minimum = -5; Default: |
|
Upper bound for the parameter value. The dimension of the For matrix-valued parameters, use indexing to specify upper bounds on individual elements: p = realp('K',eye(2)); p.Maximum([1 4]) = 5; Use scalar expansion to set the same upper bound for all matrix elements: p.Maximum = 5; Default: |
|
Boolean value specifying whether the parameter is free to be
tuned. Set the The dimension of the Default: 1 ( |
Use arithmetic operators (+
, -
, *
, /
, \
,
and ^
) to combine realp
objects
into rational expressions or matrix expressions. You can use the resulting
expressions in model-creation functions such as tf
, zpk
,
and ss
to create tunable models.
For more information about tunable models, see Models with Tunable Coefficients in the Control System Toolbox™ User's
Guide.