FINDING FREQUENCY FROM FFT PLOT
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시

my fft plot looks like above.how to find lower and higher frequencies for the above curve so that the bandwidth(upper-lower frequency) can also be calculated .i need to display lower and upper frequencies also.
댓글 수: 0
답변 (1개)
Hiro Yoshino
2020년 1월 8일
Try this?:
% P fft power
% F fft frequency
idx = (P == PowerThreshold); % detect the indices of the power that match the threshold.
% Here are what you want I guess:
F_low = F(idx);
F_low = F_low(1);
F_high = F(idx);
F_high = F_high(end);
The point is extracting indices that correspond your threshold of the power.
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!