Effacer les filtres
Effacer les filtres

RMS of sampled signal

3 vues (au cours des 30 derniers jours)
carlo mars
carlo mars le 25 Jan 2016
Commenté : dpb le 19 Juil 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

Réponse acceptée

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

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