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
Citation pour cette source
Wei Nick Chan (2026). Averaging Filter (https://fr.mathworks.com/matlabcentral/fileexchange/49033-averaging-filter), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
