Smoothing a noisy signal
Afficher commentaires plus anciens
Hey everyone,
I need some help smoothing out a noisy signal. I know of one or two methods but I am not sure what the best way of doing it is. Can someone tell me what is the most efficient way of smoothing?
Thanks for the help!
1 commentaire
David Polcari
le 13 Juin 2012
Réponse acceptée
Plus de réponses (1)
Sandarva Khanal
le 15 Juin 2012
0 votes
Like Walter said, you need to define your goals for the results. One simple way can be to use a running average of may be about 3 - 5 data from your data set.
For example, if you are interested in finding the running average of 3 data-points from your data set, your 2nd data could be the average of first three data-points. Your 3rd data will be the average of data-point indexed 2 to 4, and so on....remember that in this case, you will not usually change the first data-point.
1 commentaire
Walter Roberson
le 15 Juin 2012
conv(signal, ones(1,3)/3) is one method of implementing a 3 point running average.
Catégories
En savoir plus sur Signal Generation, Analysis, and Preprocessing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!