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
-
3452 Solvers
-
Create a cell array out of a struct
970 Solvers
-
6945 Solvers
-
5372 Solvers
-
8659 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!