How can I plot spectrogram without using function "spectrogram"?
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello I've got a signal which depends on three variables. I want to plot a draft like draft using function "spectrogram" (2D draft with three axes, third axis is displayed with color). I don't want to use this function, because before plotting it processing a signal, but I have alredy processed signal. Thank you for your future help.
Best regards, Andrew
댓글 수: 0
채택된 답변
Wayne King
2012년 11월 4일
To replicate the plotting behavior of spectrogram.m, use surf()
z = randn(100,100);
t = 1:100;
x = 1:100;
surf(t,x,abs(z),'EdgeColor','none');
axis xy; axis tight; colormap(jet); view(0,90);
댓글 수: 0
추가 답변 (2개)
math
2023년 2월 3일
How can I plot spectrogram using function "spectrogram
댓글 수: 1
Walter Roberson
2023년 2월 3일
The documentation includes examples
help spectrogram
참고 항목
카테고리
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!