maximum position of element in a matrix
Mostrar comentarios más antiguos
Hi I have a 1000x1000 matrix. I want to find the location and the value of the highest value in the matrix?
Respuesta aceptada
Más respuestas (1)
Thomas
el 11 de Abr. de 2012
[p,q,r]=find(A==max(max(a)))
Assuming ur matrix is A
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!