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.
Select every other element of a vector
20397 Solvers
Test if two numbers have the same digits
187 Solvers
376 Solvers
Switch matrix to a column vector
261 Solvers
445 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!