extracting a row from a matrix
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Mahi Nazir
il 12 Dic 2013
Modificato: Mahi Nazir
il 12 Dic 2013
0 voti
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!