SignalUtils.MovingAverageImpulse Method

void MovingAverageImpulse(TVec Taps, Int32 MaskSize)

Design an impulse response of a moving average filter.

#NameTypeDescription
1TapsTVecsource TVec
2MaskSizeInt32

Result: stored in self (calling object)

Remarks:

Design moving average filter by initializing the Taps variable. Apply the moving average filter to your data, by passing the initialized Taps variable to the FirInit routine and then pass the FirState variable to the FirFilter routine. MaskSize defines the length of the filter in samples.

The precision of the Taps is specified on input with Taps.FloatPrecision

See Also: SignalUtils.FirFilter, SignalUtils.KaiserImpulse, SignalUtils.MovingAverageFilter