#ifndef __PDR_FFT_H__ #define __PDR_FFT_H__ /* Header File Including ------------------------------------------------------------------------ */ #include #include /* Macro Declaration ---------------------------------------------------------------------------- */ #define M_PI 3.14159265358979323846 /* pi */ // #define MATLAB_DEBUG // #define MATLAB_MAIN /* Structure Declaration ------------------------------------------------------------------------ */ typedef struct myComplex { float real; float image; } myComplex; /* Function Declaration ------------------------------------------------------------------------- */ extern int FFT_dft(myComplex *fft, float *signal, int length); extern int FFT_fft(myComplex *fft, float *signal, int length); #endif