clc;clear. T=0:0.001:2*pi; A=2;P=4; y=A*square(P*T); plot(T,y) axis([T(1)-1 T(end) +1 -(A+1) (A+1)]) A峰值,P ...
zhidao.baidu.com