Delete rows from array
2 views (last 30 days)
Show older comments
Benjamin Cowen
on 2 Feb 2016
Answered: Image Analyst
on 5 Feb 2016
I have an array called yi1
It has more than 10,000 rows.
How can I delete all rows from 10,000 upwards?
0 Comments
Accepted Answer
More Answers (1)
Image Analyst
on 5 Feb 2016
Another way. Assuming a 2D array:
yi1 = yi1(1:9999,:); % Extract first 9,999 rows
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!