Problem 343. Back to basics 1 - Saving
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
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.
Solution Comments
Show commentsProblem Recent Solvers569
Suggested Problems
-
20963 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2820 Solvers
-
Longest run of consecutive numbers
6432 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
Who has power to do everything in this world?
482 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!