s=0;
for i=1:100
        s=s+i
        y(i)=s
end
plot(y(1:100),'.')

 

posted on 2012-10-19 10:29  C's  阅读(176)  评论(0编辑  收藏  举报