MATLAB Answers

Delete middle rows in table

4 views (last 30 days)
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?
1.JPG

Accepted Answer

KALYAN ACHARJYA
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.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by