Maximum of a row in a matrix

1 visualización (últimos 30 días)
Giannakis Stoukas
Giannakis Stoukas el 27 de Abr. de 2015
Editada: Stephen23 el 28 de Abr. de 2015
I want the maximum of a specific row in a matrix

Respuesta aceptada

Stephen23
Stephen23 el 27 de Abr. de 2015
Editada: Stephen23 el 28 de Abr. de 2015
Use max, and some indexing if needed:
A = [...]; % some matrix
N = 3; % the row that you want
max(A(N,:))

Más respuestas (0)

Categorías

Más información sobre Data Types 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