How to use windoed FFT for harmonics analysis

Status
Not open for further replies.

kanokwat

Newbie level 4
Joined
Nov 30, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,312
I do project calculate amplitude and phase by FFT but It has energy leakage.
the calculated signal parameters are not percise and cannot meet the need of harmonics measurement.
So,I use windowed to help ex. Harming
But Can,t write code

example x(t)=2cos(2*pi*50t+30)+cos(2*pi*100*t+20)
and find amplitude at frequency 50 100 150 200 250 by FFT and windowed function
How can I do that
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…