ma
Moving average (rectangular) filter
Calling sequence
y = ma(x,k)
y = ma(x,k)
Parameters
- x:
Input signal (1d vector)
- k:
Length of the moving average window
- y:
Filtered signal (1d vector)
Input signal (1d vector)
Length of the moving average window
Filtered signal (1d vector)
Description
Filter the input signal x with a moving average kernel of length k.
Note: this is the matched filter for NRZ data.