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 Solvers136
Suggested Problems
-
Return the 3n+1 sequence for n
8534 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2915 Solvers
-
Remove entire row and column in the matrix containing the input values
576 Solvers
-
Area of an equilateral triangle
7005 Solvers
-
Find the next Fibonacci number
930 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!