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 comments
Loading...
Problem Recent Solvers135
Suggested Problems
-
16168 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3676 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2043 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
718 Solvers
-
Flip the vector from right to left
10805 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!