Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to measure total harmonic distortion in MatLab?

Status
Not open for further replies.

tobby

Junior Member level 1
Joined
Nov 28, 2005
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,408
total harmonic distortion matlab

hi

do anyone know
how to measure total harmonic distortion in MatLab?

regards
tobby
 

harmonic distortion matlab

do FFT, if signal frequency is fin, then 2*fin, 3*fin .. N*fin inside the frequency band (or inband) are harmonic, sum the total power of harmonic, then you get total harmonic power, / signal power is harmonic distortion in db.
Another formula is sqrt(harmonic power)/sqrt(signal power), unit is %.
 
matlab total harmonic distortion

Hi...
Unless you were develping circuits in Simulink/Simpowersys...
there you'll find blocks realted to Total Harmonic Distortion or discrete Total Harmonic Distortion..
best regards...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top