Filter löschen
Filter löschen

Moving average.

1 Ansicht (letzte 30 Tage)
Sonia Wiemann
Sonia Wiemann am 17 Apr. 2012
I have a sound signal that I nee to create smoothening with a 3 ms window this is like a moving average. the sampling rate is 44.1/msec. How can I do this?

Akzeptierte Antwort

Wayne King
Wayne King am 17 Apr. 2012
That would be a 132 point moving average filter, which you can do with
b = 1/132*ones(132,1);
output = filter(b,1,input);
  2 Kommentare
Sonia Wiemann
Sonia Wiemann am 17 Apr. 2012
Thanks!
Image Analyst
Image Analyst am 17 Apr. 2012
I agree, in fact that's why I suggested it in your earlier, duplicate posting (that I guess you forgot to check). http://www.mathworks.com/matlabcentral/answers/35683-smoothen-sound-signal

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by