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 Solvers128
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3059 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
509 Solvers
-
Test if two numbers have the same digits
262 Solvers
-
Find last zero for each column
686 Solvers
-
Is this triangle right-angled?
6373 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!