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.
1800 Solvers
274 Solvers
find the maximum element of the matrix
349 Solvers
convert matrix to single column
307 Solvers
Test Problem; Create a 5x5 array containing all ones
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!