Hi, I am trying to plot 3 variables in ezcontour plot. But it shows error.

1 次查看(过去 30 天)
I want to plot this equation:
x^2+sin(x*y)+y^2+z^2=0
using ezcontour over the domain (-pi/2<x<pi/2,-pi/2<y<pi/2). But I am getting error. Help please. Thank you

采纳的回答

Walter Roberson
Walter Roberson 2016-4-13
ezcontour() and the new fcontour() can only plot functions of at most 2 variables. You will need to construct a 3D array and use isosurface() on it.
My testing suggests that the only solution is x = 0, y = 0, z = 0

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by