malik_123
Member level 4
![Member level 4](/styles/images/ranks/dlevel4.gif)
i designed the FFT on Dspic 33FJ128GP306 processor .
its 128 point FFT.
i generated different waves using Dspic works and plotted the resultant FFT ( after squaring real and imaginary components ) .
i used the same data in matlab to generate the FFT. and plotted the data
the results are accurate for triangle wave . i am getting the peak at that same for both i.e. the out put of both Matlab and Dspic are giving the same result.
but there is a problem in the Sin waves fft.
i performed FFT on Sin wave of frequency 80 Hz.
the resultant Matlab FFT out put was just one peak at the proper BIN.
however, in the FFT performed by the Dspic had many other peaks
though the first Peak was exactly on the same bin .
what could be the reason . ?
can some one help me ?
its 128 point FFT.
i generated different waves using Dspic works and plotted the resultant FFT ( after squaring real and imaginary components ) .
i used the same data in matlab to generate the FFT. and plotted the data
the results are accurate for triangle wave . i am getting the peak at that same for both i.e. the out put of both Matlab and Dspic are giving the same result.
but there is a problem in the Sin waves fft.
i performed FFT on Sin wave of frequency 80 Hz.
the resultant Matlab FFT out put was just one peak at the proper BIN.
however, in the FFT performed by the Dspic had many other peaks
though the first Peak was exactly on the same bin .
what could be the reason . ?
can some one help me ?