Computing spectrogram using STFT

3 visualizaciones (últimos 30 días)
Ritesh Chandra Tewari
Ritesh Chandra Tewari el 24 de Abr. de 2021
Comentada: Star Strider el 24 de Abr. de 2021
I have Radar motion data. There are two columns time and amplitude. Can someone help, how to find spectrogram of raw signal using STFT. For the reference I am uploading a sample image, what I exactly need.

Respuestas (1)

Star Strider
Star Strider el 24 de Abr. de 2021
Use the pspectrum function with the 'spectrogram' option.
  2 comentarios
Ritesh Chandra Tewari
Ritesh Chandra Tewari el 24 de Abr. de 2021
can you please help me with code. Let x be the data matrix containing two columns, 1st column represents time and 2nd column represents amplitude of the radar signal.
Star Strider
Star Strider el 24 de Abr. de 2021
The documentation explains it better than I can.
Prototype code would be:
pspectrum(2nd_column, 1st_column, 'spectrogram')
or:
[p,f,t] = pspectrum(2nd_column, 1st_column, 'spectrogram');
Beyond that, you will have to experiment with your data to get the result you want. See the documentation for details.

Iniciar sesión para comentar.

Categorías

Más información sobre Time-Frequency Analysis en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by