A(2:2:end,:) = [];
Removing row of matrix
2 views (last 30 days)
Show older comments
Day Hong Kim
on 21 Apr 2018
Answered: Walter Roberson
on 21 Apr 2018
If I have a matrix, A = [1,2;3,4;5,6;7,8] How can I delete even rows, so I can get A = [1,2;5,6]
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Elementary Math 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!