标签:
IT/科技 |
y=sawtooth(2*pi*50*x,0.5);
hp=plot(x,y)
%锯齿波
y=sawtooth(2*pi*50*x,1);
hp=plot(x,y)
%方波
y=square(2*pi*50*x);
hp=plot(x,y)
%非周期三角波
y=tripuls(x,0.1);
hp=plot(x,y)
%非周期方波
y=rectpuls(x,0.1);
hp=plot(x,y)

加载中…