RMS amplitude

3 visualizaciones (últimos 30 días)
Sonia Wiemann
Sonia Wiemann el 17 de Abr. de 2012
Comentada: dpb el 19 de Jul. de 2024
How can I divide a sound wave by its rms amplitude?

Respuesta aceptada

Geoff
Geoff el 17 de Abr. de 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 comentario
dpb
dpb el 19 de Jul. de 2024
Stumbled on this from suggested links -- beginning with R2012a the Signal Processing TB contains rms which was subsequently moved into MATLAB proper with R2022a.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by