Forum Discussion
Altera_Forum
Honored Contributor
15 years agoBasic FFT megacore output question
When scaled, the output of the FFT megacore will contain the frequency components of its input? I would like to use each of the frequency components individually, this is possible? I would expect it ...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- the bins will go in the order of a non-shifted FFT: 0 to N/2-1 then -N/2 to -1 (i think) --- Quote End --- samples 0 ~ N/2-1 represent frequency range 0 ~ Fs/2 (0 ~ +.5) samples N/2 ~ N-1 represent frequency range -Fs/2 ~ 0 (-.5 ~ 0) if you put last half of vector to precede first half (fftshift) then: samples 0 ~ N/2-1 => frequency range -Fs/2 ~ 0 samples N/2 ~ N-1 => frequency range 0 ~ Fs/2 i.e. dc centred. each sample can be thought of as brick walled frequency band(bin) with own centre. thus the exact bin centres fall half band from each end of sides. thus frequencies occur at points separated equally as follows: f=linspace(0,1-1/N,N) *Fs and the resolution = Fs/N Hz representing bin width.