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] .
Return the 3n+1 sequence for n
Remove the air bubbles
All your base are belong to us
Rotate a Matrix
Matrix with different incremental runs
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