MATLAB: Save each loop values, without overwriting

arrayloop

How can I save each loop values without overwriting

Best Answer

for i=1:10
a(i)=..... %using array
end
Here value will not replace, values save as a(1), a(2).. etc
Related Question