Problem 43073. Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally.
You function will return true for [1,2,1] or [2,7,2; 6,9,6; 2,7,2] . But it should return false for [1,2,3] or [2,7,2; 6,9,6; 3,5,3] .
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers127
Suggested Problems
-
Remove the two elements next to NaN value
692 Solvers
-
Make a run-length companion vector
654 Solvers
-
Replace multiples of 5 with NaN
463 Solvers
-
305 Solvers
-
Mirror Image matrix across anti-diagonal
215 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!