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] .
Longest Divisor Run
Make a run-length companion vector
Detect a number and replace with two NaN's
Side of a rhombus
2倍してみよう - ここからスタート！
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