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 Solvers101
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
442 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2106 Solvers
-
Are all the three given point in the same line?
412 Solvers
-
492 Solvers
-
Find the next Fibonacci number
547 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!