你好!
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.
你说的是input data是小数么?下面是该函数的参数定义:
w[2*nx] Pointer to complex Q.15 FFT coefficients.
nx Length of FFT in complex samples. Must be a power of 2 or 4, and 16 ≤ nx ≤ 65536.
x[2*nx] Pointer to complex 16-bit data input.
y[2*nx] Pointer to complex 16-bit data output.