MATLAB stft vs spectrogram
52 views (last 30 days)
Show older comments
am very new to signal processing, and thus I am currently learning the basic functionalities of signal processing toolbox on MATLAB. I found these two functions named stft and spectrogram. I don't understand the differences between these two and which one should I use at what occasions. Appreciate if anyone can explain to me about this topic.
Thanks in advance!
0 Comments
Answers (1)
Chunru
on 28 Jul 2021
stft focuses on the FT of windowed and segmented (overlaped) data and the output can be used to reconstruct the original (under certain condition).
spectrogram focuses on the spectral estimation based on STFT. It has the options for power spectrum or power spectrum density. It has the option of 'reassigned' to sharpen spectrogram.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!