Extracting rows of a matrix
2 views (last 30 days)
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.
0 Comments
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,:)
0 Comments
See Also
Categories
Find more on Multidimensional Arrays 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!