Could someone explain to me this matrix assignment in MATLAB? I mean D
matrix of course, the D
matrix is empty at first and then I'm assigning to it D
and A1
but hows that possible if D
is empty?
x = [1, 2, 4, 8];
D = [];
for k=x;
A1 = 1./x;
D = [D A1];
end