How to plot this equation in 3D?

17 views (last 30 days)
Joshua Lelemia Irvine
Joshua Lelemia Irvine on 24 Sep 2018
Answered: Basil C. on 24 Sep 2018
Dear all,
How do I plot this on matlab?
Z = [(1/x)^2 +y^2]^(1/2)
Thanks.

Answers (2)

Matt J
Matt J on 24 Sep 2018
Edited: Matt J on 24 Sep 2018
You can use the surf() command.

Basil C.
Basil C. on 24 Sep 2018
You could use the following code
syms x y
z = ((1/x)^2 +y^2)^(1/2)
ezsurf(z)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!