Performs moving average on a univariate or multivariate (vector) time series to smooth out fluctuations or to estimate the trend of the time series. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.


icon

TSA Moving Average Details

This VI estimates the trend of a time series by using a linear filtering operation according to the following equation:

where {ar} is a set of weights. In practice, . This operation is a moving average or finite impulse response (FIR) filter.

Examples

Refer to the Moving Average VI in the labview\examples\Time Series Analysis\TSAGettingStarted directory for an example of using the TSA Moving Average VI.