MATLAB Answers

fahad

y = e^(-x^2)

Asked by fahad
on 15 Nov 2012

I want to plot the above equation in matlab but i dont know how to plot please help or provide me code

  0 Comments

Tags

Products

1 Answer

Answer by Azzi Abdelmalek
on 15 Nov 2012
 Accepted answer
x=0:0.1:10;
y=exp(-x.^2);
plot(x,y)

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today