SignalUtils::MovingAverageImpulse Function

void MovingAverageImpulse(TVec *Taps, int MaskSize);

Design an impulse response of a moving average filter.

#NameTypeDescription
1TapsTVec *
2MaskSizeint
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
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler