How would i plot the following?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Currenlty trying to find how to plot the equation below
z=-ln(y)+5e^x
Answers (1)
Star Strider
on 29 Jan 2020
Perhaps:
x = linspace(-1,1, 25);
y = logspace(-2, 2, 25);
[X,Y] = ndgrid(x, y);
Z=-log(Y)+5*exp(X);
figure
mesh(X,Y,Z)
grid on
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!