extracting a row from a matrix that has the highest value

7 ビュー (過去 30 日間)
jason
jason 2022 年 9 月 11 日
編集済み: Torsten 2022 年 9 月 11 日
I want to extract a row that has the highest value in one of the columns for example:
3 4
4 10
7 2
2 5
I would want to extract the row of 7 2
  1 件のコメント
Torsten
Torsten 2022 年 9 月 11 日
編集済み: Torsten 2022 年 9 月 11 日
The highest value in one of the columns is 10. So you had to extract [4,10], hadn't you ?
And this question has been answered here, Nathan, eh, Jason:
If you want to do this for the column given, use the answer here:

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by