Hi,
I try to find fft of impulse sequnce. But my fft output is not correct when i
compare with matlab. Actually, fft of impulse should be one in all frequeny. My
bug code given below
#include
#define N 4
void main(){
short Twiddle[2*N] = { 0,32767,...};
short InputFft[2*N] = { 0x4000,0,0,0,0,0,0,0};
short OutputFft[2*N];
short I;
DSP_fft(&Twiddle[0] , N,&InputFft[0],&OutputFft[0]);
for(i=0; I < 2*N;I++){
printf(%d\n, OutputFft[i]);
}
}
Regs
Jaganathan
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.