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
 

wwfhm2002

Member level 5
Joined
Dec 7, 2003
Messages
83
Helped
6
Reputation
12
Reaction score
5
Trophy points
1,288
Activity points
686
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 %.
 

madeza

Member level 4
Joined
Mar 10, 2006
Messages
74
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Location
Arequipa / PERU
Activity points
1,759
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

Top