how to save spectrogram of signal as image ?

35 次查看(过去 30 天)
how to save spectrogram of signal as pixel or image ?
  1 个评论
RaB
RaB 2021-4-4
how do you save the image without title, labels, ticks, etc.? ... just the image

请先登录,再进行评论。

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2018-9-8
编辑:KALYAN ACHARJYA 2018-9-8
% 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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Time-Frequency Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by