필터 지우기
필터 지우기

Computing spectrogram using STFT

조회 수: 4 (최근 30일)
Ritesh Chandra Tewari
Ritesh Chandra Tewari 2021년 4월 24일
댓글: Star Strider 2021년 4월 24일
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.

답변 (1개)

Star Strider
Star Strider 2021년 4월 24일
Use the pspectrum function with the 'spectrogram' option.
  댓글 수: 2
Ritesh Chandra Tewari
Ritesh Chandra Tewari 2021년 4월 24일
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 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 CenterFile Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by