how to draw graphing D
2 views (last 30 days)
Show older comments
I'm new.draw D -1 <= x <= 2,0 <= y <= e^x thank you
0 Comments
Accepted Answer
Image Analyst
on 22 Dec 2013
Hint: call linspace:
numberOfElements = 500; % for example.
x = linspace(-1, 2, numberOfElements);
% Now construct y
y = .......................
% now call plot
plot(....................
Give it a try. Not hard at all. Really really easy. Just remember to use .^ instead of ^.
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!