Test case gives away solution!
I didn't think the main MATLAB program counted as a toolbox. Oops.
I think James is right: MATLAB itself isn't normally classified as a "Toolbox". Further, I think there may be another issue too, in that the Test Suite may only be considering Toolboxes from MathWorks, and disregarding third-party Toolboxes (see my Solution 1505802 for more on this), although there is no such restriction in the Problem Statement. On the other hand, that probably wasn't an issue when this problem was created in 2012! —DIV
The answer should be 0. It is written on the FAQ: "Cody supports MATLAB and not the toolboxes".
Sort a list of complex numbers based on far they are from the origin.
Back to basics 5 - Clipboard
Given a matrix, swap the 2nd & 3rd columns
Back to basics 3 - Temp Directory
Back to basics 15 - Benchmark
Back to basics 9 - Indexed References
Back to basics 17 - white space
Better bullseye matrix
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