Moving-Average Discrete Filters

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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.

Contributed by: Jelena Kovacevic (June 2012)
Open content licensed under CC BY-NC-SA



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 .


[1] M. Vetterli, J. Kovačević, and V. K. Goyal, Foundations of Signal Processing, Cambridge: Cambridge University Press, 2014.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.