有老哥帮忙一下吗
matlab吧
全部回复
仅看楼主
level 1
这是怎么回事?
2023年03月18日 04点03分 1
level 1
t=0:pi/500:40*pi
syms t1 t2
x=sin(t1)*cos(t2);
y=sin(t1)*sin(t2);
z=cos(t1);
ezmesh(x,y,z,[0,2*pi,0,4*pi])
hold on
x=1+sin(t1)*cos(t2);
y=1+sin(t1)*sin(t2);
z=1+cos(t1);
ezmesh(x,y,z,[0,2*pi,0,4*pi])
hold on
x='3^1/2'/2*cos(t1)*cos(t2)-1/2;
y='3^1/2'/2*cos(t1)*sin(t2)-1/2;
z='3^1/2'/2*sin(t1)-1/2;3
plot(x,y,z,'b-');
hidden off
2023年03月18日 04点03分 2
plot,是二维的
2023年03月28日 04点03分
三维曲线吗?plot3[阴险]
2023年03月30日 10点03分
1