How can I plot spectrogram without using function "spectrogram"?
6 次查看(过去 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!