selecting the last 60 rows in a matrix with an uncertain number of rows
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
AA
am 26 Dez. 2014
Bearbeitet: Shoaibur Rahman
am 26 Dez. 2014
Hi, I have an ax7 matrix with a greater than 60. So the matrix has at least 60 rows but I do not know the exact number. How can I select the last 60 rows of that matrix?
thanks
0 Kommentare
Akzeptierte Antwort
Shoaibur Rahman
am 26 Dez. 2014
Bearbeitet: Shoaibur Rahman
am 26 Dez. 2014
last60rows = a(end-59:end,:)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!