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 Solvers103
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2712 Solvers
-
8344 Solvers
-
The Answer to Life, the Universe, and Everything
523 Solvers
-
586 Solvers
-
Convert a Cell Array into an Array
1671 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!