It can be seen that by using “load” and “save” commands, the maximum memory used by
split_mat.m is less than the memory required to compute C = A*B.
Time for Practice 7.5
If X is a matrix, MATLAB function sort(X) sorts each column of X in ascending order. For
example,
>> X = [3 7 5; 0 4 2]
X =
3 7 5
0 4 2
>> Y = sort(X)
Y =
0 4 2
3 7 5
When ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.