If I have a periodic function piecewise, I could calculate THD Total Harmonic Distortion for it?

 Accepted Answer

The Signal Processing Toolbox has a function that will do that for you, thd()
thd() is new in R2013b.

1 Comment

Thank you very much for the reply, in earlier versions of matlab, matlab 2011 for example I have the same chance or how I could do

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!