For spectroscopic analysis is it better to use a fft, a spectrogram (short Fourier transform), or a discrete Fourier transform?
3 views (last 30 days)
Show older comments
I want to use SWIR spectroscopy (940-2500nm) to determine elemental abundance in rock samples. Which is the best function to use when trying to take a complex sine wave and break it down into its individual components?
0 Comments
Answers (1)
Paul
on 19 Mar 2022
The FFT, implemented in Matlab by the fft() function, is just an algorithm for computing the Discrete Fourier Transform (DFT) of a finite duration, discrete-time signal. So there isn't a choice between FFT and DFT. As I understand it, the spectrogram is used if the frequency content of the signal changes with the the independent variable of the signal (typically time). So, if your SWIR signal fits that description, then perhaps the spectrogram is the right way to go.
doc spectrogram
Or try both the DFT and spectrogram and see what you get.
0 Comments
See Also
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!