你好!
C64X的dsplib中,FFT的函数是
void DSP_fft16x16 (
const short * restrict ptr_w,
int npoints,
short * restrict ptr_x,
short * restrict ptr_y
);
那么请问我需要输入的是小数该如何处理呢?
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.
请问你用的是哪款DSP? 如果是定点DSP的话,在定点DSP上实现小数运算,先要转换成整数计算后再转换成小数,这个没有浮点DSP精确。你可以参考IQMath库里的FFT例程。
http://www.ti.com/tool/sprc542