Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

t1=-0.00099:0.00001:-0.

0005;
t2=-0.00049:0.00001:0.0005;
t3=0.00051:0.00001:0.001;
y1=zeros(1,length(t1));
y3=zeros(1,length(t3));
y2=1-2*abs(t2)/0.001;
y=[y1 y2 y3];
t=[t1 t2 t3];
tt=-0.005:0.00001:0.005;
z=[0 y y y y y];
plot(tt,z);
grid on

You might also like