How to apply STFT and convert it into Time frequency Image In MATLAB

조회 수: 4 (최근 30일)
Med Future
Med Future 2022년 6월 2일
댓글: Med Future 2022년 6월 2일
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

답변 (1개)

Chunru
Chunru 2022년 6월 2일
load frame8PSK001
whos
Name Size Bytes Class Attributes ans 1x41 82 char cmdout 1x33 66 char frame 1024x1 16384 double complex label 1x1 1363 categorical
nfft=128;
% doc spectrogram for more details
spectrogram(frame, hamming(nfft), nfft/2, nfft, 'centered')
  댓글 수: 3
Chunru
Chunru 2022년 6월 2일
I don't understand your question. For data with different modulations, you will get different images with the same spectrogram function.
Med Future
Med Future 2022년 6월 2일
@Chunru Can you modified the answer, which read all .mat files from the folder and make spectogram of the dataset and save the spectrogram in with class labels

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by