| System Identification Toolbox™ | ![]() |
lin=linear
lin=linear('Parameters',Par)
linear is an object that specifies that the nonlinear ARX model is linear in custom (nonlinear) regressors. You define custom regressors using customreg.
lin=linear instantantiates the linear object.
lin=linear('Parameters',Par) instantantiates the linear object and specifies optional values in the Par structure. For more information about this structure, see linear Properties.
linear is a linear (affine) function
, defined as follows:
![]()
y is scalar, and x is a 1-by-m vector.
Use evaluate(lin,x) to compute the value of the function defined by the linear object lin at x.
You can include property-value pairs in the constructor to specify the object.
After creating the object, you can use get or dot notation to access the object property values. For example:
% List Parameters values get(lin) % Get value of Parameters property lin.Parameters
| Property Name | Description |
|---|---|
| Parameters | Structure containing the following fields:
|
To specify that the nonlinear ARX model is linear in custom regressors, first specify one or more customreg objects. Then, include the linear object in the nlarx estimator command.
For example, to estimate a nonlinear ARX model linear in the custom regressors, use the following syntax:
m=nlarx(Data,Orders,linear,'custom',{'y(t-1)*u(t-2)'});Note In this example, the custom regressor is a nonlinear function of input and output variables. |
| customreg | |
| nlarx |
![]() | linapp | linearize(idnlarx) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |