Effacer les filtres
Effacer les filtres

Plot the STFT spectrogram

31 vues (au cours des 30 derniers jours)
Ali Al-Saegh
Ali Al-Saegh le 11 Juil 2020
Commenté : Ali Al-Saegh le 12 Juil 2020
How to get that 2D image in the figure, please? It is taken from a STFT tutorial in Matlab.

Réponse acceptée

Thiago Henrique Gomes Lobato
The function tutorials of matlab normally give code examples and results. For you to reproduce the result you just need to run the exactly same given code. In this case, just copy the code lines before and you will get the same picture:
fs = 10e3;
t = 0:1/fs:2;
x = vco(sin(2*pi*t),[0.1 0.4]*fs,fs);
stft(x,fs,'Window',kaiser(256,5),'OverlapLength',220,'FFTLength',512);
  1 commentaire
Ali Al-Saegh
Ali Al-Saegh le 12 Juil 2020
Thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by