Cody

Problem 343. Back to basics 1 - Saving

Solution 2822715

Submitted on 12 Aug 2020 by Ramesh Kumar V
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))

z = 0.9166 0.6487 0.5987 0.3076 0.4436 0.5369 0.0351 0.5679 0.5189 0.8585 0.8917 0.1859 0.4639 0.6117 0.3009 0.3764 0.0524 0.1293 0.9964 0.6181 0.6717 0.9334 0.2797 0.3756 0.1242 0.3753 0.6135 0.0070 0.3544 0.5743 0.9595 0.9838 0.9975 0.2331 0.7579 0.8321 0.9538 0.9677 0.5621 0.5529 0.8458 0.7610 0.0163 0.5875 0.3109 0.5414 0.5023 0.4696 0.3239 0.5341 0.5743 0.7970 0.6285 0.0228 0.7937 0.3738 0.1288 0.3672 0.3495 0.8154 0.3058 0.1311 0.0162 0.1530 0.4397 0.0116 0.3155 0.5201 0.3923 0.0762 0.4427 0.9439 0.0327 0.9853 0.4828 0.9444 0.2707 0.7772 0.9039 0.5952 0.5748 0.5486 0.0540 0.4780 0.6799 0.7232 0.8698 0.5192 0.4032 0.5159 0.5243 0.4182 0.0900 0.0025 0.1757 0.6484 0.0693 0.2654 0.3314 0.4662

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!