Implementation of FFT in C language_ generated input samples from MATLAB

Hii everyone,
I have generated RADAR input signal with length of signal is 1*32768 in MATLAB. Now i want to applay 1-D FFT for 256 samples on input signal in C programming. I dont know how should i proceed next. can anyone please help me regarding this?
I have extreacted 256 samples from input signal in .txt file.

4 Commenti

Why do you want to use C code, if Matlab has an efficient fft implementation already?
Do you have some C code for the fft? If so, all you need is a mex wrapper.
Hii,
yes, MATLAB has efficient implementation and i got the all the results which i wants but to implement FFT algorithams on processor i wants to use C language related information. I dont know how to start implemetation in C.
Then this is a question for a C forum and off-topic here.
Did you search e.g. for "fft C" in the net already? You will find many implementations. The creation of a C-mex wrapper is easy also and Matlab includes some useful examples. Search in the documentation.

Accedi per commentare.

Risposte (1)

MATLAB has support for fftw which is open source from MIT and also available in an open source C library at https://www.fftw.org/.

Categorie

Scopri di più su Fourier Analysis and Filtering in Centro assistenza e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by