Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFFT Megafunction problem - strange spikes
Hi, I use FFT IP Core (Quartus 9.1 SP2 / Quartus 11.1 SP2). I send sine-signal to sink pins and get fft-signal from source pins of core. Then I plot ABS, real and imag of my fft-signal in Matlab. ...
Altera_Forum
Honored Contributor
14 years agoIn any case your fpga fft result must match fft matlab
But if you compare to Matlab fft you must also quantise the input and output in matlab in order to model FPGA. your vector is too short to judge. Moreover your cycles are not complete. The vector is better to have full sine cycles. So the spikes may be due to truncation. You don't need to think of real ADC signal. The same rule applies to any vector that is equivalent to what ADC will give you