Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0]
Paul Berglund implemented an optimal method in Snow Cones
Output: [1 1 0 0 1]
Determine if a Given Number is a Triangle Number
Is my wife right?
First N Perfect Squares
Find number of days
What's Your BMI?
QWERTY Shift Code Decoder
Unique: Faster for options 'rows' and 'stable' for large array of uint8
Find: Faster Alternatives for Large Sorted/Unique Vectors
Rubik's Cube: 30 Moves or Less: Minimum Avg Time
GJam 2106 Qualifier: Frac Small
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