please how can I Draw the graph of y = 2ex, -5 <= x <= 5

1 view (last 30 days)
x = linspace(-5<=x<=5); y = 2*e^x plot(x,y)

Answers (1)

MSP
MSP on 12 Aug 2017
Edited: MSP on 12 Aug 2017
x=linspace(-5,5)
y=2.*exp(x)
plot(y,x)
  2 Comments
Jan
Jan on 12 Aug 2017
@Theman JIrnadu: If the answer has solved your problem, please accept it.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!