Deleting multiple cell rows after using uiimport
1 view (last 30 days)
Show older comments
Is there a way to delete multiple rows from an imported csv file after using uiimport()? For example: rows 1-8, 917-932, 1841-1856... etc The reason for needing these rows deleted is that they give invalid numbers and mess up analysis and plotting.
Thanks
0 Comments
Accepted Answer
Kye Taylor
on 15 Jun 2012
If C is a cell, delete rows j through k using
C(j:k,:) = []; % note use of parentheses and not braces to index
5 Comments
More Answers (0)
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!