 |
matlab - How to create single dimensional array in matab? - Stack ...
count = 0; for i=1:10 arr = count; count = count+1; end ... arr = zeros(10,1); % to initialize array count = 0; for i=1:10 arr(i) = count; count = count+1; end ...
stackoverflow.com |
 |