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 Solvers149
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15780 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3062 Solvers
-
285 Solvers
-
Return unique values without sorting
999 Solvers
-
1620 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!