n=1
total=0
while n<50
    disp(['n= ' num2str(n)])
    n=n+1;
end
total=sum(num2str(n))
