Extracting rows of a matrix
Show older comments
I have this matrix and I want to pull out all the rows from 2 till the end. The matrix has 1287 rows. I was wondering how I was able to extract every row. If there is a good way to do, would you let me know.
Answers (1)
Azzi Abdelmalek
on 13 Mar 2013
Edited: Azzi Abdelmalek
on 13 Mar 2013
out=a(2:end,:)
% If you want row 10
a(10,:)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!