maximum position of element in a matrix
Ältere Kommentare anzeigen
Hi I have a 1000x1000 matrix. I want to find the location and the value of the highest value in the matrix?
Akzeptierte Antwort
Weitere Antworten (1)
Thomas
am 11 Apr. 2012
[p,q,r]=find(A==max(max(a)))
Assuming ur matrix is A
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!