Spectrogram
조회 수: 18 (최근 30일)
이전 댓글 표시
I have a simple sine signal (data) with a frequency of 6Hz, lasting 30 seconds. When I perform a spectrogram of data, I should get a time-frequency plot where 6Hz is the solid line, instead I get 0.1Hz, what am I doing wrong?
Do you have a webinar that shows how to perform spectrograms, STFT, etc?
댓글 수: 2
Liangjun Zhang
2013년 3월 3일
Hi Mike,
Have you solved this problem? I have the same problem, can you give me some suggestions?
Thank you!
Andrew
Wayne King
2013년 3월 3일
Hi Liangiun, Mike has accepted this answer so it appears the issue is solved for him. If you are having trouble with spectrogram.m, please start a new post and make sure to include whatever code you have.
채택된 답변
Vieniava
2011년 2월 6일
Frequency sampling ( Fs ) - this is all about. You should specify correct Fs - try spectrogram in this usage:
S=spectrogram(x,window,noverlap,nfft,fs)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
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!