matlab怎么画出三维曲线?t=(0:0.01:1)*pix=25*cos(t)y=(-60+25*sin(t))*(14.82-111*25*sin(t)+1250*sin(t)*sin(t)+1511.18*sin(t)-1511.18)/((50-50*sin(t))*sqrtm(900-61*25*sin(t)+625*sin(t)*sin(t)+1511.18sin(t)))-25sin(t)+sqrtm(1100)z=50-25*sqrtm((360
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/18 08:37:33
matlab怎么画出三维曲线?t=(0:0.01:1)*pix=25*cos(t)y=(-60+25*sin(t))*(14.82-111*25*sin(t)+1250*sin(t)*sin(t)+1511.18*sin(t)-1511.18)/((50-50*sin(t))*sqrtm(900-61*25*sin(t)+625*sin(t)*sin(t)+1511.18sin(t)))-25sin(t)+sqrtm(1100)z=50-25*sqrtm((360
matlab怎么画出三维曲线?
t=(0:0.01:1)*pi
x=25*cos(t)
y=(-60+25*sin(t))*(14.82-111*25*sin(t)+1250*sin(t)*sin(t)+1511.18*sin(t)-1511.18)/((50-50*sin(t))*sqrtm(900-61*25*sin(t)+625*sin(t)*sin(t)+1511.18sin(t)))-25sin(t)+sqrtm(1100)
z=50-25*sqrtm((3600-120*25*sin(t)+625*sin(t)*sin(t))/(900-13.82*sin(t)+625sin(t)*sin(t)))
plot3(x,y,z,'b-',x,y,z,'bd');boxon,
提示出错,怎么修改?
matlab怎么画出三维曲线?t=(0:0.01:1)*pix=25*cos(t)y=(-60+25*sin(t))*(14.82-111*25*sin(t)+1250*sin(t)*sin(t)+1511.18*sin(t)-1511.18)/((50-50*sin(t))*sqrtm(900-61*25*sin(t)+625*sin(t)*sin(t)+1511.18sin(t)))-25sin(t)+sqrtm(1100)z=50-25*sqrtm((360
去学一学matlab吧..* ./ sqrt
t=(0:0.01:1)*pi;
x=25*cos(t);
y=(-60+25*sin(t)).*(14.82-111*25*sin(t)+1250*sin(t).*sin(t)+1511.18*sin(t)-1511.18)./((50-50*sin(t)).*sqrt(900-61*25*sin(t)+625*sin(t).*sin(t)+1511.18*sin(t)))-25*sin(t)+sqrt(1100);
z=50-25*sqrt((3600-120*25*sin(t)+625*sin(t).*sin(t))./(900-13.82*sin(t)+625*sin(t).*sin(t)));
plot3(x,y,z,'b-',x,y,z,'bd');box on,
plot3(X1,Y1,Z1);
例如plot3(sin(t),cos(t),t)