list = 1:10; for k=1:length(list) printf('%i\n',list(k)) end;