Moving-Average Discrete Filters
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
 M. Vetterli, J. Kovačević, and V. K. Goyal, Foundations of Signal Processing, Cambridge: Cambridge University Press, 2014. www.fourierandwavelets.org.