Is it possible to transfer data in a memory saving way in MATLAB? I.e. is it possible to obtain the following functionality without having the array duplicated in memory
a.b = zeros(1e4);
c = [a.b; ones(1e4)];
a = rmfield(a,'b');
Is it possible to transfer data in a memory saving way in MATLAB? I.e. is it possible to obtain the following functionality without having the array duplicated in memory
a.b = zeros(1e4);
c = [a.b; ones(1e4)];
a = rmfield(a,'b');