フィルターのクリア

How to find the X value that corresponds to the peak Y value from a set of plots?

49 ビュー (過去 30 日間)
Hi,
I have 100 output curves, and I would like to pick the value of X that corresponds to the maximum Y value. X and Y values are obtained in separate files. I have attached herewith three sets of curves, X1, X2, and X3 for Y1, Y2 and Y3. The Y-axis values is the sum of values from column 2 to 11 in Y files.
I would be grateful if anyone can help me in this regard. Please, let me know if my question is not clear enough.
Thank you very much. Regards, Ismail

採用された回答

KSSV
KSSV 2017 年 11 月 10 日
[maxvaly,idx] = max(y) ;
maxvalx = x(idx) ;
where x and y are you data.
  6 件のコメント
paul walker
paul walker 2019 年 8 月 8 日
Bhagwan h bhai tu , dhanyawad.
Kurnam Gnaneshwar
Kurnam Gnaneshwar 2021 年 10 月 30 日
Thank You. It is helpfull.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by