recursiveARMAX
Online parameter estimation of ARMAX model
Description
Use the recursiveARMAX
System object™ for parameter estimation with real-time data using an ARMA model structure. If all the
data you need for estimation is available at once and you are estimating a time-invariant
model, use the offline estimation function ar
.
To perform parameter estimation with real-time data:
Create the
recursiveARMAX
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Syntax
Description
creates a
System object for online parameter estimation of a default single-output ARMAX model. The
default model structure has a polynomial of order 1 and initial polynomial coefficient
values armaxobj
= recursiveARMAXeps
.
specifies the initial coefficient values of polynomials armaxobj
= recursiveARMAX([na
,nb
,nc
,nk
],A0
,B0
,C0
)A
,
B
, and C
by setting the
InitialA
property to A0
, the
InitialB
property to B0
, and the
InitialC
property to C0
. Specify initial
values to potentially avoid local minima during estimation. If the initial values are
small compared to the default InitialParameterCovariance
property
value and you have confidence in your initial values, specify a smaller
InitialParameterCovariance
.
specifies one or more properties of the model
structure or recursive estimation algorithm using name-value arguments. For example,
armaxobj
= recursiveARMAX(___,Name=Value
)armaxobj = recursiveARMAX(2,EstimationMethod="NormalizedGradient")
creates an estimation object that uses a normalized gradient estimation method.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes. For example, armaxobj =
recursiveARMAX(2,"EstimationMethod","NormalizedGradient")
creates an
estimation object that uses a normalized gradient estimation method.
Input Arguments
Properties
Usage
Description
[
updates and returns the parameters and output of A
,B
,C
,estimatedOutput
] = armaobj(y
)recursiveARMAX
model
armaxobj
online based on real-time output data y
and input data u
.
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
More About
Extended Capabilities
Version History
Introduced in R2015b