kanokwat
Newbie level 4
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
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