MATLAB program for square wave generation. Program Code. t=0:0.01:4; y=square(2*pi*t,50); plot (t,y); axis ([0 4 -2 2]); xlabel ('Time');
確定! 回上一頁