This Demonstration shows impulse and magnitude responses of a moving-average discrete filter for . Such a filter can be used to smooth the variations in a sequence and thereby obtain a global trend.
A moving-average discrete filter takes a local average of samples. It can be used to smooth variations present in a sequence. For odd , the impulse response is
for .
Reference
[1] M. Vetterli, J. Kovačević, and V. K. Goyal, Signal Processing: Foundations, Cambridge: Cambridge University Press, forthcoming. www.fourierandwavelets.org.