Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Find maximum in matrix and show
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello guys,
I would have a question - If I have a matrix of numbers for example 50x50 (rows, columns) and matrix changes values for example 50 times - how can I plot position of these 50 maximums?
Thanks for some ideas
0 comentarios
Respuestas (1)
Star Strider
el 16 de Jun. de 2019
To get the maximum of every column of your matrix ‘M’:
colmax = max(M);
To get the maximum of every row:
rowmax = max(M,[],2);
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!