How to plot a y=e^x function
50 views (last 30 days)
Show older comments
I have the task to plot a graph using the function y=e^x but I am having trouble with the constant e. Do I have to define e first? or is there another way to rewrite this equation?
0 Comments
Accepted Answer
Stephen23
on 24 Feb 2018
Edited: Stephen23
on 24 Feb 2018
1 Comment
Dyuman Joshi
on 20 Jan 2024
Edited: Dyuman Joshi
on 27 Jan 2024
%Plot the exp function from x = -2 to x = 3
fplot(@exp, [-2 3])
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots 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!