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.

Complex data array on DM6437

 

Hello,

I captured frame on DM6437 .And I implement fast fourier transform of this frame.I assigned the FFT result  to an  int array.And I defined FFTOut array  like this:

 

#pragma DATA_ALIGN(FFTOut, 128);
int   FFTOut [2*N];

 

Even  indices of this array store real data(FFTOut[2*i]),odd indices of this array store imaginary data(FFTOut[2*i-1])

I want to calculate magnitude and phase values of this array?

How can I implement this?

Or how can I  transformed this array to complex data array and use special functions that calculate magnitude and phase values?

 

Best Regards..