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.

채택된 답변

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