clc clear y=@ (x)10*exp(-2*x) @(x)10*exp(-2.*x) x=0/.01/2; range 0<-x<=2 plot (x,y(x),'linewidth',2) grid on xlabel('x') ylabel('y(x)')
To embed this project on your website, copy the following code and paste it into your website's HTML: