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

5 views (last 30 days)
Theman JIrnadu
Theman JIrnadu on 12 Aug 2017
Commented: Jan on 12 Aug 2017
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 Graphics Object Identification 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!

Translated by