RMS amplitude

12 次查看(过去 30 天)
Sonia Wiemann
Sonia Wiemann 2012-4-17
评论: dpb 2024-7-19,14:36
How can I divide a sound wave by its rms amplitude?

采纳的回答

Geoff
Geoff 2012-4-17
I gave an answer today that required an RMS calculation.
You can make a throw-away function for RMS:
RMS = @(x) sqrt(mean(x.^2));
And then to answer your question:
signal = signal / RMS(signal);
  1 个评论
dpb
dpb 2024-7-19,14:36
Stumbled on this from suggested links -- beginning with R2012a the Signal Processing TB contains rms which was subsequently moved into MATLAB proper with R2022a.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by