Delete middle rows in table
1 view (last 30 days)
Show older comments
Zeynab Mousavikhamene
on 16 Nov 2019
Edited: KALYAN ACHARJYA
on 16 Nov 2019
I need to delete rows 3 and 4 of this table and have the 5th and 6th rows to be rows 3 and 4.
How can I do that?
0 Comments
Accepted Answer
KALYAN ACHARJYA
on 16 Nov 2019
Edited: KALYAN ACHARJYA
on 16 Nov 2019
table_data([3,4],:) = [];
After deletion 5th and 6th rows automaticaly become 3 and 4 rows.
0 Comments
More Answers (0)
See Also
Categories
Find more on Tables 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!