filter
Apply lag operator polynomial to filter time series
Syntax
[
Y
,times
]
= filter(A
,X
)
[Y
,times
]
= filter(A
,X
,'Initial',X0
)
Description
Given a lag operator polynomial A(L), [
applies A(L) to
time series data X(t). This is equivalent to applying
a linear filter to X(t), producing the filtered
output series Y(t) = A(L)X(t).Y
,times
]
= filter(A
,X
)
[
applies A(L) to
time series data X(t) with specified presample
values of the input time series X(t).Y
,times
]
= filter(A
,X
,'Initial',X0
)
Input Arguments
|
Lag operator polynomial object, as produced by |
|
|
|
Presample values of the input time series X(t).
If |
Output Arguments
|
Filtered input time series, Y(t) = A(L)X(t). |
|
Vector of relative time indices the same length as |
Examples
Algorithms
Filtering is limited to single paths, so matrix data are assumed to be a single path of a multidimensional process, and 3-D data (multiple paths of a multidimensional process) are not allowed.