matlab 生成三角波

t=[-1:2/(2^12):1];
x=63*sawtooth(pi*(t+0.5),0.5)+64;
plot(t,x)

  

posted @ 2013-05-26 13:45  OpenSoucre  阅读(2545)  评论(0编辑  收藏  举报