给出方程的图像可以fmesh函数来绘出。
f = @(x,y)-x.^2*y.^3+(x.^2+y.^2-1).^3-9;
fmesh(f,[-5 5])
grid on
xlabel('x');ylabel('y');zlabel('z')
运行后的图形