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

조회 수: 1 (최근 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