フィルターのクリア

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 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by