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] .
Find state names that end with the letter A
Find state names that start with the letter N
Filter AC, pass DC
Are all the three given point in the same line?
Sum my indices
Check if a rotated array was originally sorted
Check if two matrices are permutations of each other
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