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 commentsGroup

Matrix Patterns III
- 12 Problems
- 47 Finishers
- Make a diamond
- Dice face matrix!
- Produce the following matrix
- Check if a matrix is a palindrome in all directions
- Form a square matrix from four square sub-matrices
- Create a square matrix with given conditions
- create a square matrix
- Tent matrix
- Vandermonde Matrix
- Union Jack Matrix
- Make a rainbow matrix (follow-up to checkerboard matrix)
- Diagonal Pattern
Problem Recent Solvers106
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!