RMS of sampled signal

3 visualizaciones (últimos 30 días)
carlo mars
carlo mars el 25 de En. de 2016
Comentada: dpb el 19 de Jul. de 2024
I have a signal sampled at 5000 samples per second . and I have 5 second . plz help me to find the RMS value of the ac component of the waveform of this signal

Respuesta aceptada

Walter Roberson
Walter Roberson el 25 de En. de 2016
ac_signal = YourSignal - mean(YourSignal(:));
rms = sqrt( mean(ac_signal.^2) );
  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)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by