Frequency domain to Time Domain using IFFT
Show older comments
Hello,
I have data in an Excel spreadsheet that is in terms of frequency and amplitude. I want to convert this to a signal as a function of time using an inverse Fourier transform. What script could I use to import this data and perform the ifft.
Thanks
3 Comments
Walter Roberson
on 5 Oct 2017
Are the frequencies evenly spaced or irregularly spaced? If they are not evenly spaced in the file, is there an underlying even spacing but we should assume that any frequency not mentioned in the file has 0 amplitude?
Are the amplitudes complex valued? If so how are the complex numbers represented in the file? http://www.engineerexcel.com/complex-numbers-in-excel/
Mohd Faisal Ansari
on 1 May 2020
Hello Sir, I have data in an Excel spreadsheet that is in terms of frequency and amplitude, how can I convert this into time domain curve?
waiting for response
Answers (1)
Walter Roberson
on 5 Oct 2017
0 votes
You would need a non-uniform DFT. See https://www.mathworks.com/matlabcentral/fileexchange/25135-nufft--nfft--usfft
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!