Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

TOTAL HARMONIC DISTORTION – [THD]
Output the total harmonic distortion of the input signal.
CATEGORY
Harmonic Analysis


Output the total harmonic distortion of the input signal:


RESULT VARIABLES AND PARAMETERS

Thd%Total harmonic distortion value in percent.
Thd_dbTotal harmonic distortion value in db.
SignalInput
Num_HarmonicsNumber of harmonic use to calculate the THD.
FreqValue used has the fundamental frequency.


SYNTAX

  • [thd_perc,thd_db]=thd(input,num_harmonics,freq)

CHARACTERISTICS
Data type support
Double Floating point

EXAMPLE

  • No labels