Effacer les filtres
Effacer les filtres

RMS amplitude

12 vues (au cours des 30 derniers jours)
Sonia Wiemann
Sonia Wiemann le 17 Avr 2012
Commenté : dpb le 19 Juil 2024 à 14:36
How can I divide a sound wave by its rms amplitude?

Réponse acceptée

Geoff
Geoff le 17 Avr 2012
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 commentaire
dpb
dpb le 19 Juil 2024 à 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by