Computing spectrogram using STFT
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Star Strider
on 24 Apr 2021
2 Comments
Star Strider
on 24 Apr 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.
See Also
Categories
Find more on Time-Frequency Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!