Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I have data file which has 3 columns. I need to find the maximum values each from column 2 and 3 and then find the values in column 1 for which the values in column 2 and 3 are 0.24 of the maximum values of column 2 and 3. How to do this?

1 回表示 (過去 30 日間)
SGMukherjee
SGMukherjee 2018 年 4 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have data file which has 3 columns. I need to find the maximum values each from column 2 and 3 and then find the values in column 1 for which the values in column 2 and 3 are 0.24 of the maximum values of column 2 and 3.
  1 件のコメント
Bob Thompson
Bob Thompson 2018 年 4 月 5 日
You can use max() to find the maximum values of the two columns, just index to only look at those columns.
You can use find() to determine the location of values which are 0.24*max in the second and third columns.
You can find the values of the first column which relate through indexing.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by