Documentation Center

  • Trial Software
  • Product Updates

operspec(idnlhw)

Construct operating point specification object for idnlhw model

Syntax

SPEC = operspec(NLSYS)

Description

SPEC = operspec(NLSYS) creates an operating point specification object for the idnlhw model NLSYS. The object encapsulates constraints on input and output signal values. These specifications are used to determine an operating point of the idnlhw model using findop(idnlhw).

Input Arguments

  • NLSYS: idnlhw model.

Output Arguments

  • SPEC: Operating point specification object. SPEC contains the following fields:

    • Value: Initial guess for the values of the input signals. Specify a vector of length equal to number of model inputs. Default value: Vector of zeros.

    • Min: Minimum value constraint on values of input signals for the model. Default: -Inf for all channels.

    • Max: Maximum value constraint on values of input signals for the model. Default: Inf for all channels.

    • Known: Specifies when Value is known (fixed) or is an initial guess. Use a logical vector to denote which signals are known (logical 1, or true) and which have to be estimated using findop (logical 0, or false). Default value: true.

    Note:  

    1. If the input is completely known ('Known' field is set to true for all input channels), then the initial state values are determined using input values only. In this case, findop(idnlhw) ignores the output signal specifications.

    2. If the input values are not completely known, findop(idnlhw) uses the output signal specifications to achieve the following objectives:

      • Match target values of known output signals (output channels with Known = true).

      • Keep the free output signals (output channels with Known = false) within the specified min/max bounds.

See Also

Was this topic helpful?