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
-
Create a vector whose elements depend on the previous element
790 Solvers
-
Create matrix of replicated elements
397 Solvers
-
638 Solvers
-
07 - Common functions and indexing 1
454 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
160 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!