Hi,
I am trying to implement real FFT given at the following page and used the example program from here: \c674x-dsplib_1_03_00_01\src\DSPF_sp_fftSPxSP
http://processors.wiki.ti.com/index.php/Efficient_FFT_Computation_of_Real_Input
I have some question about it's implementation, I will be so kind to have your help.
#define N 512
float pCFFT_In[2 * N + 4];
float pCFFT_InvOut[2 * N + 4];
float
pCFFT_InOrig[2 * N + 4];
Why the size of all the variables like mentioned above have additional 4 ?
What these two functions are doing ?
fltcmp (const float *y1, const float *y2, int n, float tol)
memcpy (pRFFT_InOrig, pRFFT_In, N * sizeof (float));
N is defined as 512 but N/2 has passed to the function DSPF_sp_fftSPxSP as length of FFT as shown below:
DSPF_sp_fftSPxSP (N / 2, pRFFT_In, twiddle, pTemp, brev, rad, 0, N / 2);
I am wondering what is the actual length of FFT here ? What length will I use in this case to find the Frequency Resolution ?
Waiting for your help.