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 Solvers510
Suggested Problems
-
Remove the two elements next to NaN value
604 Solvers
-
Find the maximum number of decimal places in a set of numbers
1919 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1303 Solvers
-
553 Solvers
-
07 - Common functions and indexing 3
378 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!