Finding the max value in 1st column of values based on a range in the 2nd column of values

1 ビュー (過去 30 日間)
I am looking at an FFT graph and trying to output the max amplitude values between the frequency range of 0.09:0.11,0.19:0.21, and 0.24:0.26. I have a two column matrix. The first column is amplitude values and the second column is frequency values.


David Hill
David Hill 2022 年 6 月 30 日

その他の回答 (1 件)

Jonas 2022 年 6 月 30 日
max(yourMat( yourMat(:,2)>0.09 && yourMat(:,2)<0.11 ,1))
for the first range and so on?


Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by