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!