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
Number of 1s in the Binary Representation of a Number
Combinations without using nchoosek
Testing for randomness: uniform distribution of integers
Make your own Test Suite (part 0)
Add all the numbers between two limits (inclusive)
Guess the number I'm thinking of
Make your own Test Suite (part 1)
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