m=1000;
tau=4;
dt=tau/m;
t=dt*(-m/2:m/2-1);
A=1;
a=1;
x=A*exp(-a*abs(t));
figure
plot(t,x);
axis([-4 4 0 1.5]);