MATLAB stft vs spectrogram

52 visualizzazioni (ultimi 30 giorni)
Mario Lorenzo
Mario Lorenzo il 28 Lug 2021
Risposto: Chunru il 28 Lug 2021
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!

Risposte (1)

Chunru
Chunru il 28 Lug 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.

Community Treasure Hunt

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

Start Hunting!

Translated by