Remove the middle row from a matrix, assuming # of rows is odd.
So if
A = [ 1 2 3; 4 5 6; 7 8 9]
then
B = [ 1 2 3; 7 8 9]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers150
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3431 Solvers
-
Area of an equilateral triangle
7035 Solvers
-
561 Solvers
-
Replace odd number in given matrix by zero
151 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1964 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!