How to determine frequency components in a signal
조회 수: 1 (최근 30일)
이전 댓글 표시
How to determine the different dominant frequency components in a signal (for the whole signal duration and for specific periods)? Signal is of dim (400 x 1)
댓글 수: 0
채택된 답변
Walter Roberson
2017년 3월 6일
댓글 수: 4
Walter Roberson
2017년 3월 6일
mask = time >= beginning_of_period & time <= end_of_period;
selected_samples = samples(mask);
fft_of_selected = fft(selected_samples);
"spectrogram(signal), gives me a complex value?"
Yes. spectrogram does a series of discrete fourier transforms (fft). fft() of a real-valued signal is going to be complex except in the case that the signal is made up of pure sine tones that all started at the first sample. The complex portion of the entries express phase information.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!