Covering some basic topics I haven't seen elsewhere on Cody.
Given an input variable 'x', save it to disk in a file named 'cody.mat'.
is it intended that the test is isequal(load('cody.mat'),x) instead of isequal(load('cody.mat'),struct('x',x))?
sorry.. updated the test suite to work as intended.. rescoring all solutions submitted.
If I don't provide any output from the function, it works fine on my computer but not in this test.
Undefined function savetodisk error. ??
sorry, just testing
Extract leading non-zero digit
Sum all integers from 1 to 2^n
Replace May with April
Is A the inverse of B?
Matlab Basics - Create a row vector
Valid Chess Moves
Back to basics 9 - Indexed References
Back to basics 21 - Matrix replicating
Back to basics 20 - singleton dimensions
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