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] .
Right and wrong
The Tower of Hanoi
Back to basics 20 - singleton dimensions
Check if number exists in vector
MATLAB Basic: rounding II
Check if two matrices are permutations of each other
Check if a rotated array was originally sorted
Reverse digits of a number
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office