Moving average.

1 次查看(过去 30 天)
Sonia Wiemann
Sonia Wiemann 2012-4-17
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?

采纳的回答

Wayne King
Wayne King 2012-4-17
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 个评论
Sonia Wiemann
Sonia Wiemann 2012-4-17
Thanks!
Image Analyst
Image Analyst 2012-4-17
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by