maximum position of element in a matrix
이전 댓글 표시
Hi I have a 1000x1000 matrix. I want to find the location and the value of the highest value in the matrix?
채택된 답변
추가 답변 (1개)
Thomas
2012년 4월 11일
[p,q,r]=find(A==max(max(a)))
Assuming ur matrix is A
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!