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]
Rotate a Matrix by 90 degrees
How many trades represent all the profit?
Doubling elements in a vector
Cell Counting: How Many Draws?
GJam 2014 China Rd A: Maze (Left Hand Rule) Large Arrays
GJam 2014 Qualifier: Deceitful War (Small)
Knots Contest: Minimum Knots (ContestSuite)
Spherical radius given four points
REPMAT Enhancement - Faster for Large Row Replication of Vector
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