2个回答
展开全部
clear all
[x,y,z]=meshgrid(-10:0.2:10,-10:0.2:10,-10:0.2:10);
f=(x.^2./4+y.^2./3+z.^2./9-1);
[d,m]=isosurface(x,y,z,f,0);
patch('faces',d,'vertices',m,'facevertexcData',jet(length(m)),'facecolor','k','edgecolor','flat');
grid on;view(3);axis equal;
xlabel('X'),ylabel('Y'),zlabel('Z');title('x^2/4+y^2/3+z^2/9=1');
给你个大鸭蛋,哇咔咔!!!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询