selecting the last 60 rows in a matrix with an uncertain number of rows

2 次查看(过去 30 天)
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

采纳的回答

Shoaibur Rahman
Shoaibur Rahman 2014-12-26
编辑:Shoaibur Rahman 2014-12-26
last60rows = a(end-59:end,:)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Monte Carlo Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by