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

10 visualizaciones (últimos 30 días)
Darla Bonagura
Darla Bonagura el 23 de Jul. de 2020
Comentada: Darla Bonagura el 27 de Jul. de 2020
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.

Respuesta aceptada

madhan ravi
madhan ravi el 23 de Jul. de 2020
MAX_rows = max(TabLe{:, :}, [], 2)

Más respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by