FUNCTION REFERENCE

arx

Estimate an ARX model by least squares.

Estimate an ARX model by least squares.

Syntax

m = arx(data, [na nb nk])

Syntax

m = arx(data, na)

Syntax

m = arx(data, orders, 'InputDelay', d)

A(q) y = B(q) u(t - nk) + e by linear least squares over the samples t > max(na, nb + nk - 1) (no unmeasured past). The second form fits an AR model to time-series data. Report.Fit holds FitPercent, LossFcn, MSE, FPE, AIC, AICc, nAIC and BIC.

Example

u = sin((1:50)'); y = filter([0 1],[1 -0.5],u); m = arx(iddata(y,u,1),[1 1 1]); m.A   % [1 -0.5]

Differences from MATLAB: single-output single-input data; no option set, regularisation or multi-experiment data.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.