求大家们帮助:
256点FFT程序如下:
#include<math.h>
#include<tms320.h>
#include<dsplib.h>
#define NX 256 /FFT运算长度为256/
short scale=1; /归一化设置/
short noscale=0; /非归一化设置/
short x[512]; /定义数组/
void main(void)
{
cbrev(x,x,NX); /码位倒序运算/
cfft(x,NX,scale); /进行256点归一化的FFT运算/
