RMS of sampled signal

3 次查看(过去 30 天)
carlo mars
carlo mars 2016-1-25
评论: dpb 2024-7-19
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

采纳的回答

Walter Roberson
Walter Roberson 2016-1-25
ac_signal = YourSignal - mean(YourSignal(:));
rms = sqrt( mean(ac_signal.^2) );
  1 个评论
dpb
dpb 2024-7-19
Stumbled on this from suggested links -- beginning with R2012a the Signal Processing TB contains rms which was subsequently moved into MATLAB proper with R2022a.

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by