Info

This question is closed. Reopen it to edit or answer.

FINDING FREQUENCY FROM FFT PLOT

2 views (last 30 days)
v controller
v controller on 8 Jan 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (1)

Hiro Yoshino
Hiro Yoshino on 8 Jan 2020
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.

Community Treasure Hunt

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

Start Hunting!