How do I find the max value of rows in a table?

5 ビュー (過去 30 日間)
Darla Bonagura
Darla Bonagura 2020 年 7 月 23 日
コメント済み: Darla Bonagura 2020 年 7 月 27 日
I currently have a table (4 columns, 46 rows). I would like to find the max value of each row. For example, if one rows values are [1 0 1 2], I woud like the code to identify 2 as the max value. I need to do this for 46 rows.
  1 件のコメント
KSSV
KSSV 2020 年 7 月 23 日
Read about max.

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

採用された回答

madhan ravi
madhan ravi 2020 年 7 月 23 日
MAX_rows = max(TabLe{:, :}, [], 2)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by