How can I plot spectrogram without using function "spectrogram"?
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Andrew
el 4 de Nov. de 2012
Comentada: Walter Roberson
el 3 de Feb. de 2023
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 comentarios
Respuesta aceptada
Wayne King
el 4 de Nov. de 2012
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 comentarios
Más respuestas (2)
math
el 3 de Feb. de 2023
How can I plot spectrogram using function "spectrogram
1 comentario
Walter Roberson
el 3 de Feb. de 2023
The documentation includes examples
help spectrogram
Ver también
Categorías
Más información sobre Time-Frequency Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!