帮忙做一下MATLAB做题不会让亲白辛苦的.t=-pi:pi/200:8*pi; h=figure(1) set(h,'color',[1 1 1])subplot(1,2,1),plot3(cos(t)sin(t),t,'b-')subplot(1,2,2),comet3(sin(t),cos(t),t) 接下来是要连一条线,让起点和终点用一条线连在

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/04 21:33:32
帮忙做一下MATLAB做题不会让亲白辛苦的.t=-pi:pi/200:8*pi;h=figure(1)set(h,''color'',[111])subplot(1,2,1),plot3(cos(t)si

帮忙做一下MATLAB做题不会让亲白辛苦的.t=-pi:pi/200:8*pi; h=figure(1) set(h,'color',[1 1 1])subplot(1,2,1),plot3(cos(t)sin(t),t,'b-')subplot(1,2,2),comet3(sin(t),cos(t),t) 接下来是要连一条线,让起点和终点用一条线连在
帮忙做一下MATLAB做题
不会让亲白辛苦的.t=-pi:pi/200:8*pi; h=figure(1) set(h,'color',[1 1 1])
subplot(1,2,1),plot3(cos(t)sin(t),t,'b-')subplot(1,2,2),comet3(sin(t),cos(t),t) 接下来是要连一条线,让起点和终点用一条线连在一起,为的是让小球不停地运动,而且要做成动画的形式.

帮忙做一下MATLAB做题不会让亲白辛苦的.t=-pi:pi/200:8*pi; h=figure(1) set(h,'color',[1 1 1])subplot(1,2,1),plot3(cos(t)sin(t),t,'b-')subplot(1,2,2),comet3(sin(t),cos(t),t) 接下来是要连一条线,让起点和终点用一条线连在
t=-pi:pi/200:8*pi;
h=figure(1);
set(h,'color',[1 1 1]);
subplot(1,2,1);
plot3(cos(t),sin(t),t,'b-');
subplot(1,2,2);
while 1
comet3(sin(t),cos(t),t);
hold on;
xx=linspace(sin(8*pi),sin(-pi),100);
yy=linspace(cos(8*pi),cos(-pi),100);
zz=linspace(8*pi,-pi,100);
comet3(xx,yy,zz);
end