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
-
Return the largest number that is adjacent to a zero
5549 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
328 Solvers
-
find the roots of a quadratic equation
243 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
264 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!