Decaying Exponential MATLAB Program Code


Decaying Exponential MATLAB Program code.

x=-t;
t=1:.01:20;
a=exp(x);
plot(t,a); grid on


Grid depends on you whether you want it off or on. So change as required.

Add Comment