2012年6月1日 ... Fs = 10000; t = 0:1/Fs:1.5; x = sawtooth(2*pi*50*t); plot(t,x), axis([0 0.2 -1 1]) 2 square 功能:产生方波。
wk.baidu.com