Skip to Main Content Skip to Search
Product Documentation

evaluate - Value of nonlinearity estimator at given input

Syntax

value = evaluate(nl,x)

Arguments

nl

Nonlinearity estimator object.

x

Value at which to evaluate the nonlinearity.

If nl is a single nonlinearity estimator, then x is a 1-by-nx row vector or an nv-by-nx matrix, where nx is the dimension of the regression vector input to nl (size(nl)) and nv is the number of points where nl is evaluated.

If nl is an array of ny nonlinearity estimators, then x is a 1-by-ny cell array of nv-by-nx matrices.

Description

value = evaluate(nl,x) computes the value of a nonlinear estimator object of type customnet, deadzone, linear, neuralnet, pwlinear, saturation, sigmoidnet, treepartition, or wavenet.

Examples

The following syntax evaluates the nonlinearity of an estimated nonlinear ARX model m:

value = evaluate(m.Nonlinearity,x)

where m.Nonlinearity accesses the nonlinearity estimator of the nonlinear ARX model.

See Also

idnlarx | idnlhw

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS