maximum position of element in a matrix
Afficher commentaires plus anciens
Hi I have a 1000x1000 matrix. I want to find the location and the value of the highest value in the matrix?
Réponse acceptée
Plus de réponses (1)
Thomas
le 11 Avr 2012
[p,q,r]=find(A==max(max(a)))
Assuming ur matrix is A
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!