how to save spectrogram of signal as image ?
조회 수: 22 (최근 30일)
이전 댓글 표시
how to save spectrogram of signal as pixel or image ?
댓글 수: 1
채택된 답변
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 Center 및 File Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!