Oops. I just noticed that I forgot to rename the function from "compareDoubles" (used in Problem 44690) to "compareSingles". Unfortunately I cannot make the fix now without breaking the two successful submissions. Sorry about any confusion. —DIV
Good problem, but it would be better if base-10 or base-2 was adopted as a standard at the description. It is confusing to keep changing them. And the function name should probably be compareSingles and not compareDoubles. You can fix the test suite by using try and catch while accepting both names for the function.
Project Euler: Problem 6, Natural numbers, squares and sums.
Snakes on a plane
Is this group simply connected?
Elastic Collision 001: 1-D
How long do each of the stages of the rocket take to burn?
Rate of event occurence: find percentiles of the distribution (for smallish rates)
Anyone for tennis? Your chances of winning a (standard) game
Back to basics: adding comments to your code
Code breaker, Part I: Operation Phoenix
Wait a second!
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