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'.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers576
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53503 Solvers
-
Return the largest number that is adjacent to a zero
5542 Solvers
-
Make a random, non-repeating vector.
11702 Solvers
-
512 Solvers
-
Matlab Basics - y as a function of x
532 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
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.