RMS for Non-Sinusoidal wave or Contain aliasing
3 views (last 30 days)
Show older comments

0 Comments
Answers (1)
Mathieu NOE
on 3 Nov 2020
hello
if you have a signal (vector), the rms value is always (by definition)
rms_value = sqrt(mean(signal.^2))
2 Comments
Mathieu NOE
on 3 Nov 2020
hello
when a sine signal gets distorted , you can do the rms calculation either by computing each harmonic amplitude then rms value and combine them
this is explained here : https://www.lehmanengineering.com/quiz/quiz5sol.html
but you can do it also directly on the time data according to the definition I gave above
the rms means compute the equivalent dc signal which has the same power as your AC signal (distorded or not)
so I let you do the computation either in time or frequency domain
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!