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

Harmonic Analysis | THD

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

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323