1、方波用square函数:. t=0:0.01:5;. y=square(2*pi*t);. plot(t,y);. axis([0 5 -1.2 1.2]);. 2、sawtooth产生的是锯齿波和三角波 ...
wenwen.m.sogou.com