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]
Is my wife right? Now with even more wrong husband
First N Perfect Squares
Get the length of a given vector
We love vectorized solutions. Problem 1 : remove the row average.
Generate pi using logarithm
Mastermind IV: Optimal Solver - max of 5 guesses
Top of the Hour : Return from your routine within 1 second of the hour
Kurchan 3x3 - Optimal Score
Pandiagonal Prime Magic Square Verification
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