how to save spectrogram of signal as image ?

38 vues (au cours des 30 derniers jours)
arunnagiri murrugesan
arunnagiri murrugesan le 8 Sep 2018
Commenté : RaB le 4 Avr 2021
how to save spectrogram of signal as pixel or image ?
  1 commentaire
RaB
RaB le 4 Avr 2021
how do you save the image without title, labels, ticks, etc.? ... just the image

Connectez-vous pour commenter.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 8 Sep 2018
Modifié(e) : KALYAN ACHARJYA le 8 Sep 2018
% You can do it in multiples ways, for example, check the following sample code
N=1024;
n=0:N-1;
w0=2*pi/5;
x=sin(w0*n)+10*sin(2*w0*n);
s=spectrogram(x);
spectrogram(x,'yaxis');
saveas(gcf,'filename.png'); %Use to display save as image
  1 commentaire
KALYAN ACHARJYA
KALYAN ACHARJYA le 8 Sep 2018
save at current working directory folder

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Time-Frequency Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by