RosettaCodeData/Task/Loops-For/MATLAB/loops-for-1.m

8 lines
110 B
Mathematica
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
for i = (1:5)
output = [];
for j = (1:i)
output = [output '*'];
end
disp(output);
end