This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSPLIB FFT rounding problem



Hi. im using dm6437 board. i'm using dsplib DSP_fft16x16 fft function. i compared matlab fft result and dsp fft result. results are like these :

 

 matlab fft : 496.00       ,    -16.00 + 162.00i   ,   -16.00 + 80.00i   ,  -16.00 + 53.00i    ,  -16.00 + 39.00i     , -16.00 + 30.00i

dsp fft : (496.000000,0.000000),(-16.000000,160.000000),(-16.000000,80.000000),(-16.000000,52.000000),(-16.000000,40.000000),(-16.000000,24.000000)

i understand DSP_fft16x16 function is making rounding it's OK .but  i think this rounding that in somewhere is big.  is there anything that i have to do for this or i miss something.

Or fft function result must be like that?

 

Thanks!