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

10 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by