Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

fahad

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

Azzi Abdelmalek

Contact us