Cody

Problem 343. Back to basics 1 - Saving

Solution 2738044

Submitted on 24 Jul 2020 by Sarah Daly
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = rand(10,10); savetodisk(x); y=x; clear x; load('cody.mat'); assert(isequal(x,y))

x = 0.6374 0.4307 0.1555 0.9198 0.9070 0.4826 0.7676 0.1905 0.3553 0.4825 0.9147 0.1149 0.5117 0.3099 0.2177 0.9533 0.7194 0.1160 0.5605 0.2958 0.2212 0.6720 0.9079 0.4082 0.6414 0.6719 0.9493 0.4262 0.7172 0.4507 0.1092 0.9415 0.9387 0.8478 0.8955 0.3147 0.0989 0.9103 0.0106 0.0277 0.0551 0.0899 0.6770 0.0113 0.5442 0.0169 0.2221 0.3704 0.7123 0.7876 0.1964 0.4724 0.7207 0.0131 0.1392 0.8670 0.9722 0.4937 0.9583 0.9502 0.5718 0.6485 0.6073 0.9118 0.3220 0.1666 0.2808 0.6268 0.5376 0.5804 0.4331 0.6737 0.2949 0.0322 0.2756 0.1448 0.0554 0.8727 0.1346 0.4634 0.2147 0.5748 0.7991 0.0700 0.4917 0.4682 0.3475 0.7005 0.2617 0.6813 0.7201 0.7676 0.3916 0.9249 0.9541 0.6501 0.2415 0.0778 0.6843 0.5474

Suggested Problems

More from this Author39

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!