Moving Average Filter

 

 

Description

This component models a moving average filter. The user can specify the moving window size, either as a time period or a frequency, whose cyclic period is the window size. The user can also specify how many samples are to be taken within the window.

Input Parameters

ConfigurationConfiguration

 

 Name for Identification

 

Text

 

Optional text parameter for identification of the component.

         

 Specify Moving Window as

 

Choice

 

Select Frequency or Period.

 

 

 

 

 

Number of Samples per Period

 

INTEGER

 Literal

Number of samples in the moving window.

 

 

 

 

 

Frequency

 

REAL

Constant

Frequency corresponding to the moving window.

 

 

 

 

 

Period

 

REAL

Constant

Length of the moving window.

 

 

 

 

 

Base Value

 

REAL

Constant

The output will be per unitized based on this value. Enter 1.0 to get the actual average.

 

 

 

 

 

Initial Output

 

REAL

Constant

Initial output of the filter. The entire buffer is filled with this value at t = 0.