A row vector is not a matrix...
Not very clear problem, flip vertically? horizontally? elementwise?
:
The problem is really to just reverse a row vector. A row vector happens to be a matrix, but so does a column vector, and two or more dimensional matrices. Saying, "reverse a matrix" is ambiguous.
284 Solvers
520 Solvers
Sum of diagonals elements of a matrix
166 Solvers
241 Solvers
191 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!