please how can I Draw the graph of y = 2ex, -5 <= x <= 5
Show older comments
x = linspace(-5<=x<=5); y = 2*e^x plot(x,y)
Answers (1)
x=linspace(-5,5)
y=2.*exp(x)
plot(y,x)
2 Comments
Theman JIrnadu
on 12 Aug 2017
Jan
on 12 Aug 2017
@Theman JIrnadu: If the answer has solved your problem, please accept it.
Categories
Find more on Numerical Integration and Differentiation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!