I think that there's a bug in the test cases; putting
before test case 7 should fix it.
clear V1 has now been added before test case 7, and the solutions are being rescored. Hopefully, this will fix the problems you were having.
Chinese remainder theorem
I have a solution that solves all of the test cases, but when I run it against the test suite it produces "Error using builtin
Undefined function or variable 'solutionTest'." for each case.
I have the same problem as William. Can someone help?
Apparently James is deleting essential files for Cody by using rm at his script. I've informed him of the issue.
I have commented out the initial lines so that this problem is solvable again.
Sorry about that...it was only for learning purposes... :-)
The Goldbach Conjecture, Part 2
Find the peak 3n+1 sequence value
Fahrenheit to Celsius converter
Volume of a Simplex
Find a Pythagorean triple
Rewrite setdiff to account for non-unique values
Some Assembly Required
There are 10 types of people in the world
Golomb's self-describing sequence (based on Euler 341)
Numbered lottery balls into cells
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