Averaging Filter
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |