Chris -- Interesting problem. But test #6 somehow got truncated and doesn't work.
Thanks William. My reference code worked last night. I think Cody truncated Test 6 and the seven after it because the cell array WORDS was too long. I removed several tests and asked Cody to rescore.
Find the sum of all the numbers of the input vector
Indexed Probability Table
All your base are belong to us
Integer Sequence - II : New Fibonacci
Determine the Zeckendorf expansion of a number
Construct a continued fraction for a square root
Compute the arithmetic derivative of integers
Find pairs of primes with the same digit sum
Investigate the frequency of last non-zero digits of primorials
Solve an ODE: diffusion problem 1
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