RMS of sampled signal

3 visualizzazioni (ultimi 30 giorni)
carlo mars
carlo mars il 25 Gen 2016
Commentato: dpb il 19 Lug 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

Risposta accettata

Walter Roberson
Walter Roberson il 25 Gen 2016
ac_signal = YourSignal - mean(YourSignal(:));
rms = sqrt( mean(ac_signal.^2) );
  1 Commento
dpb
dpb il 19 Lug 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.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by