Filter löschen
Filter löschen

RMS of sampled signal

3 Ansichten (letzte 30 Tage)
carlo mars
carlo mars am 25 Jan. 2016
Kommentiert: dpb am 19 Jul. 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 25 Jan. 2016
ac_signal = YourSignal - mean(YourSignal(:));
rms = sqrt( mean(ac_signal.^2) );
  1 Kommentar
dpb
dpb am 19 Jul. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by