Averaging Filter

Averaging Filter for Digital Signal Processing Students
221 Downloads
Updated 13 Jan 2015

View License

There, I have this assignment from my lecturer that requires us to demonstrate a type of filter called averaging. It is mainly used in image processing but this program only demonstrates how it works with a simple "original signal" and random noise.
So I'd managed to generate the noise signal using rand() function and using FOR loop, the number of random signals for averaging can be determined. The more sequences it has, the cleaner the output. The original can be in any form ranging from simple sine wave, or generating something complicated like ECG signal on your own.

Be careful with the noise generating though, we want the noise to be generated in the FOR loop, if its outside the FOR loop it defeats the purpose of averaging RANDOM signal itself. the random signal should be generated equal amount of times as the number of sequences set before hand.

p.s. any relevance with other MATLAB program found from sources outside is purely coincidencial

Cite As

Wei Nick Chan (2024). Averaging Filter (https://www.mathworks.com/matlabcentral/fileexchange/49033-averaging-filter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Signal Generation, Manipulation, and Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0