% example of for-loop
a = 3;

for i = 1:4
    a = a + i;
end

a