recursiveAR
Online parameter estimation of AR model
Description
Use the recursiveAR
System object™ for parameter estimation with real-time data using an AR 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
recursiveAR
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 single-output AR model with default
property values. The default model structure has a polynomial of order 1 and initial
polynomial coefficient value arobj
= recursiveAReps
.
specifies the initial coefficient values of polynomial arobj
= recursiveAR(na
,A0
)A
by setting
the InitialA
property to A0
. Specify initial
values to potentially avoid local minima during estimation.
specifies one or more properties of the model
structure or recursive estimation algorithm using name-value arguments. For example,
arobj
= recursiveAR(___,Name=Value
)arobj = recursiveAR(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, arobj =
recursiveAR(2,"EstimationMethod","NormalizedGradient")
creates an estimation
object that uses a normalized gradient estimation method.
Input Arguments
Properties
Usage
Description
[
updates and returns the coefficients and output of A
,estimatedOutput
] = arobj(y
)recursiveAR
model
arobj
online based on real-time output data
y
.
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