matlab 绘制方程(x^2 + (9/4)y^2 + z^2 - 1)^3 - x^2z^3 - (9/80)y^2z^3 == 0 这个方程,matlab命令怎么弄?我是想画函数greatdju 您那个不行啊,返回下面的错误[x,y,z]=meshgrid(linspace(-1.5,1.5));f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/19 20:22:52
matlab 绘制方程(x^2 + (9/4)y^2 + z^2 - 1)^3 - x^2z^3 - (9/80)y^2z^3 == 0 这个方程,matlab命令怎么弄?我是想画函数greatdju 您那个不行啊,返回下面的错误[x,y,z]=meshgrid(linspace(-1.5,1.5));f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z
xYmOP+;v}oY Onm0."ɦDq F˟Y28#!\.Y{9>;O,W:M4[vyuܬ”HPE,+Coi-`@w#\SQho7xUhyڨt^4K-l՜r~zTSZ<,W{@y]ydu^w6o>4wVVv@/ʼfΦ =z̩3`6J/I%ő^vYb|_;} JPޕxA#evFlW(ysJNffnfͼt7EI# HZMB{W(,wa=ͰRzQ)/kIZ I ȦF>IM&RW&:iYc4''uZ!XZ3 6?lwviQ@>y[[1w^z03{e;Ar)(f6p7sE=9$R{vQJM7:$!3|#}gzyWxXooO}zyԌI(h%pFXȦ>L9ַ]O~!1

matlab 绘制方程(x^2 + (9/4)y^2 + z^2 - 1)^3 - x^2z^3 - (9/80)y^2z^3 == 0 这个方程,matlab命令怎么弄?我是想画函数greatdju 您那个不行啊,返回下面的错误[x,y,z]=meshgrid(linspace(-1.5,1.5));f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z
matlab 绘制方程
(x^2 + (9/4)y^2 + z^2 - 1)^3 - x^2z^3 - (9/80)y^2z^3 == 0
这个方程,matlab命令怎么弄?
我是想画函数
greatdju 您那个不行啊,返回下面的错误
[x,y,z]=meshgrid(linspace(-1.5,1.5));
f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z.^2 - 1).^3 - x.^2.*z.^3 - (9/80)*y.^2.*z.^3;
p=patch(isosurface(x,y,z,f(x,y,z),0)); view(3);axis equal
set(p,'FaceVertexCData',jet(size(get(p,'faces'),1)) ,'FaceColor','flat','EdgeColor','none');
f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z.^2 - 1).^3 - x.^2.*z.^3 - (9/80)*y.^2.*z.^3;
|
Error:"identifier" expected,"(" found.

matlab 绘制方程(x^2 + (9/4)y^2 + z^2 - 1)^3 - x^2z^3 - (9/80)y^2z^3 == 0 这个方程,matlab命令怎么弄?我是想画函数greatdju 您那个不行啊,返回下面的错误[x,y,z]=meshgrid(linspace(-1.5,1.5));f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z
你到底是想解方程还是画隐函数图像啊,解方程用
x=solve('(x^2 + (9/4)*y^2 + z^2 - 1)^3 - x^2*z^3 - (9/80)*y^2*z^3')
画图用
[x,y,z]=meshgrid(linspace(-1.5,1.5));
f=@(x,y,z)(x.^2 + (9/4)*y.^2 + z.^2 - 1).^3 - x.^2.*z.^3 - (9/80)*y.^2.*z.^3;
p=patch(isosurface(x,y,z,f(x,y,z),0)); view(3);axis equal
set(p,'FaceVertexCData',jet(size(get(p,'faces'),1)) ,'FaceColor','flat','EdgeColor','none');

solve('(x^2 + (9/4)*y^2 +z^2-1)^3-x^2*z^3-(9/80)*y^2*z^3=0','x')
可以求得:
ans =
1/30/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518...

全部展开

solve('(x^2 + (9/4)*y^2 +z^2-1)^3-x^2*z^3-(9/80)*y^2*z^3=0','x')
可以求得:
ans =
1/30/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(-15*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(135*y^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)-(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)-1200*z^3-60*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+60*z^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)))^(1/2)
-1/30/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(-15*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(135*y^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)-(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)-1200*z^3-60*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+60*z^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)))^(1/2)
1/60/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(-30*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(270*y^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)+1200*z^3-120*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+120*z^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)-i*3^(1/2)*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)+1200*i*3^(1/2)*z^3))^(1/2)
-1/60/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(-30*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(270*y^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)+1200*z^3-120*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+120*z^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)-i*3^(1/2)*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)+1200*i*3^(1/2)*z^3))^(1/2)
1/60/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(-30*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*((-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)+1200*z^3-120*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+270*y^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+120*z^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+i*3^(1/2)*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)-1200*i*3^(1/2)*z^3))^(1/2)
-1/60/(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*(-30*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)*((-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)+1200*z^3-120*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+270*y^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+120*z^2*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(1/3)+i*3^(1/2)*(-230850*y^2*z^3+108000*z^3-108000*z^5+150*(-76800*z^9+2368521*y^4*z^6-2216160*y^2*z^6+2216160*y^2*z^8+518400*z^6-1036800*z^8+518400*z^10)^(1/2))^(2/3)-1200*i*3^(1/2)*z^3))^(1/2)

收起