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.

CCS 中使用RFFT库函数计算FFT,得出的复数值FFT在什么地方?



我先在MATLAB使用Spec = fft(SIG, N);得到了1024点FFT的复数值;

接下来想要在CCS中实现同样的功能,

rfft.FFTSize = RFFT_SIZE;
rfft.FFTStages = RFFT_STAGES;
rfft.CosSinBuf = &RFFTF32Coef[0];

rfft.InBuf = &RFFTinBuff[0]; //Input buffer
rfft.OutBuf = &RFFToutBuff[0]; //Output buffer
rfft.MagBuf = &RFFTmagBuff[0]; //Magnitude buffer
RFFT_f32_sincostable(&rfft); //Calculate twiddle factor
RFFT_f32(&rfft); //Calculate real FFT
RFFT_f32_mag(&rfft); //Calculate magnitude

但是在RFFTmagBuff、RFFToutBuff并没有发现复数结果,有没有大神帮助一下