Problem 943. "mirror" matrix
Solution Stats
Problem Comments
-
1 Comment
This problem was fun. I was able to find a better way to solve beat my own solution. Not the best way though. But lot better.
Solution Comments
-
1 Comment
@Alireza yarmohammadi: your comment was deleted as it revealed an answer to the problem.
In response to the question you asked, though, your function returns m, which is not the complete answer. The last line in your function displays the correct result, but assigns it to ans, not m.
Problem Recent Solvers463
Suggested Problems
-
331 Solvers
-
465 Solvers
-
Determine Whether an array is empty
693 Solvers
-
4546 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
710 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!