How to apply STFT and convert it into Time frequency Image In MATLAB
Show older comments
Hello everyone, I hope you all are doing well. I have the following signal generated from example https://www.mathworks.com/help/deeplearning/ug/modulation-classification-with-deep-learning.html.
I want to apply STFT then convert it into Time frequency image for training Resnet50
Answers (1)
load frame8PSK001
whos
nfft=128;
% doc spectrogram for more details
spectrogram(frame, hamming(nfft), nfft/2, nfft, 'centered')
3 Comments
Med Future
on 2 Jun 2022
Chunru
on 2 Jun 2022
I don't understand your question. For data with different modulations, you will get different images with the same spectrogram function.
Med Future
on 2 Jun 2022
Categories
Find more on Get Started with Signal Processing Toolbox 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!