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