extracting a row from a matrix
이전 댓글 표시
I want to extract a row from a matrix for which the last column element is largest. for example if my matrix is
1 2 3
1 1 4
2 1 2
3 2 5
my answer would be the last row 3 2 5 because 5 is the largest element in the last column. How do I do this please help.
채택된 답변
추가 답변 (1개)
Mahi Nazir
2013년 12월 12일
편집: Mahi Nazir
2013년 12월 12일
0 개 추천
카테고리
도움말 센터 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!