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.

非连续存储的数据如何进行FFT变换?以及库函数DSPF_sp_fftSPxSP中的offset 的含义



问题一:非连续存储的数据如何进行FFT变换?

需求说明:假如复数数组complex  input[32768],我们想对input[32768]中每间隔3个复数的数据x进行fft变换,即x={input[0]  input[4]  input[8] input[12] ... input[32764] }组成的数据进行fft变化,有没有现成的函数可以调用???

如果有人已经实现了烦请上传一下测试历程。

 

问题二:DSPF_sp_fftSPxSP中的offset 的含义是什么?

能否用void DSPF_sp_fftSPxSP 实现问题一描述的功能

/*          void DSPF_sp_fftSPxSP(                                          

/*              int N, float * ptr_x, float * ptr_w, float * ptr_y,        

/*              unsigned char * brev, int n_min, int offset, int n_max);   

/*                                                                          

/*          N = length of fft in complex samples, power of 2 such that     

/*          N>=8 and N <= 16384.                                            

/*          ptr_x = pointer to complex data input                           

/*          ptr_w = pointer to complex twiddle factor (see below)         

/*          ptr_y = pointer to complex output data                        

/*          brev = pointer to bit reverse table containing 64 entries      

/*          n_min = smallest fft butterfly used in computation             

/*                  used for decomposing fft into subffts, see notes       

/*          offset = index in complex samples of sub-fft from start of