Computing spectrogram using STFT
2 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/595195/image.jpeg)
0 个评论
回答(1 个)
Star Strider
2021-4-24
2 个评论
Star Strider
2021-4-24
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.
另请参阅
类别
在 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!