??? 11/12/06 15:56 Read: times |
#127820 - Re: Fundamental and harmonics. Responding to: ???'s previous message |
FFT delivers harmonics and fundamental! Thats correct, But How does FFT algoritham know what exactly is fundamental. Albertos code which essentially seems to use Danielson-Lanczos algoritham gives an array amplitude that has 32 elements and according to the commenting in his code. amplitude[0] = DC amplitude[1] = Fundamental amplitude[2] = 2N freq. and so on But according to some other texts I found on net. amplitude[1] = 1Hz amplitude[2] = 2Hz and so on. Now the confusion is which one of the above two is correct and how does the fft algorithm know the fundamental freq. In my case the fundamental is close to 50Hz/60Hz. Thanks & Regards, Prahlad Purohit |