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.
Project Euler: Problem 5, Smallest multiple
410 Solvers
Who is the smartest MATLAB programmer?
565 Solvers
Area of an equilateral triangle
2912 Solvers
504 Solvers
361 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!