Link to home
Start Free TrialLog in
Avatar of Johncili
Johncili

asked on

FFT code

Does any friend can supply C/C++ original code (or download site) for FFT processing of a time-series data to get frequency-spectrum and time-frequency-spectrum??
Avatar of Axter
Axter
Flag of United States of America image

Hi friend,
Can you please award the points to your previously posted question.
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20176584

Thanks friend :-)
ASKER CERTIFIED SOLUTION
Avatar of jtm111
jtm111

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jtm111
jtm111

Axter - I checked to make sure the writer closed the question you linked before posting.
Johncili, I wrote complete code for a CFourier class that uses FFT. Also available: bar chart display, including phase indication, and simple automatic apodization to zero crossings. Not available: endpoint attenuation envelopes.

My design is different from others in that the number of data points need not be a power of two. I scale the given data in the time domain so that the result length is a power of two.

(I also have code for a realtime Fourier calculation and display; it uses the slow algorithm, not FFT. With a realtime Fourier display, you see the frequency domain for a moving window of time domain data, refreshed with each new acquired data point.)

Anyone can send me your email address and I will send you the code by email.

Since it will take me time to extract the relevant code from my much larger app, I reserve the possibility that there will be a delay in sending you the code.

David
Avatar of Johncili

ASKER

David,
My email address is: johncili@hotmail.com
Thank you in advance.