I'm curious: why did you include the [1 1]'s in your value set?
Hi, Heather. To be honest, this was an older version that I was using to test containers.Map, and ended up submitting by mistake.
You got the smallest answer by mistake? Cool!
That would be something, wouldn't it? The mistake was copy-pasting this version, with the [1 1]s, instead of a version without them. They are not needed, as you noticed.
Is my wife right?
Reverse the vector
Is A the inverse of B?
Length of a short side
Find the longest sequence of 1's in a binary sequence.
Finding Perfect Squares
Return the 3n+1 sequence for n
Find the treasures in MATLAB Central and discover how the community can help you!
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