Main Content

idnlhw/operspec

Construct operating point specification object foridnlhwmodel

Description

spec= operspec(nlsys)creates a default operating point specification object for theidnlhwmodelnlsys. This object is used withfindopand specifies constraints on the model input and output signal values. Modify the default specifications using dot notation.

Input Arguments

collapse all

Nonlinear Hammerstein-Wiener model, specified as anidnlhwobject.

Output Arguments

collapse all

Operating point specification, used to determine an operating point of theidnlhwmodel usingfindop, returned as an object containing the following:

  • Input— Structure with fields:

    Field Description Default for Each Input
    Value Initial guesses or fixed levels for the values of the model inputs, specified as a vector with length equal to the number of input signals. 0
    Min Minimum value constraints on the model inputs, specified as a vector with length equal to the number of input signals. -Inf
    Max Maximum value constraints on the model inputs, specified as a vector with length equal to the number of input signals. Inf
    Known

    Known value indicator, specified as a logical vector with length equal to the number of input signals and with the following values:

    • truefindopwill set the corresponding input signal toValue.

    • falsefindopwill estimate the corresponding input signal usingValueas an initial guess.

    true

  • Output— Structure with fields:

    Field Description Default for Each Input
    Value Target values the model outputs, specified as a vector with length equal to the number of output signals. 0
    Min Minimum value constraints on the model outputs, specified as a vector with length equal to the number of output signals. -Inf
    Max Maximum value constraints on the model outputs, specified as a vector with length equal to the number of output signals. Inf
    Known

    Known value indicator, specified as a logical vector with length equal to the number of output signals and with the following values:

    • truefindopwill useValueas an estimation target for the corresponding output.

    • falsefindopwill keep the corresponding output within the constraints specified byMinandMax.

    false

Note

  1. IfInput.Knownistruefor all model inputs, then the initial state values are determined using the input specifications only. In this case,findop忽略了规范的Outputstructure.

  2. Otherwise,findopuses the output specifications to meet the objectives indicated byOutput.Known.

Version History

Introduced in R2008a

See Also