idLinear
Linear mapping object for nonlinear ARX models
Description
AnidLinear
object implements an affine function, and is a mapping function for estimating nonlinear ARX models. The mapping function uses a combination of linear weights and an offset. Unlike the other mapping objects for the nonlinear models, theidLinear
object contains no accommodation for a nonlinear component.
数学上,idLinear
is a linear function
that mapsminputsX(t) = [x(t1),x2(t),…,xm(t)]Tto a scalar outputy(t). .Fis a (affine) function ofx:
Here:
X(t) is anm-by-1 vector of inputs, orregressors.
y0is the output offset, a scalar.
Pis anm-by-pprojection matrix, wheremis the number of regressors and ispis the number of linear weights.mmust be greater than or equal top.
Lis ap-by-1 vector of weights.
SetidLinear
as the value of theOutputFcn
property of anidnlarx
model. For example, specifyidLinear
when you estimate anidnlarx
model with the following command.
sys = nlarx(data,regressors,idLinear)
nlarx
estimates the model, it also estimates the parameters of theidLinear
function.
Use theidLinear
mapping object when you want to create nonlinear ARX models that operate linearly on the regressors. The regressors themselves can be nonlinear functions of the inputs and outputs. ThepolynomialRegressor
andcustomRegressor
commands allow you to create such regressors. When theidnlarx
model has no custom regressors and the output function is set toidLinear
, the model is similar to a linear ARX model. However, for the nonlinear ARX model, the offset is an estimable parameter.
You can configure theidLinear
object to disable components and fix parameters. Useevaluate
to compute the output of the function for a given vector of inputs.
Creation
Syntax
Description
creates anLin
= idLinearidLinear
objectLin
with unknown parameters.