make figure spectrogram as length as signal above it

I would like to put spectogram result below the signal figure. I use specgram (in second row) and spectogram result in last row, but i get difficulties to make the lenght of spectogram, figure as length as signal figure. Can somebody help me?

3 comentarios

"i get difficulties to make the lenght of spectogram, figure as length as signal figure."
Do you mean the dimensions of the figure or the values of the x-axis (time values)?
yes , having the colorbar in one only subplot will destroy the x axis alignment
there are certainly many answers to the same question, one "old fashioned" way was described here already long time ago :

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 1 de Jun. de 2024

Comentada:

el 3 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by