matlab题目 ,编写程序用subplot画出椭球与旋转体,托求新在(0,0,1),三个半长轴一次为2,3,4.旋转体的母线1+t^2.(旋转体参考画法为:t=-1:0.1:1;[X,Y,Z]=cylinder(1+t.^2);surf(X,Y,Z))

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/19 20:07:22
matlab题目 ,编写程序用subplot画出椭球与旋转体,托求新在(0,0,1),三个半长轴一次为2,3,4.旋转体的母线1+t^2.(旋转体参考画法为:t=-1:0.1:1;[X,Y,Z]=cylinder(1+t.^2);surf(X,Y,Z))

matlab题目 ,编写程序用subplot画出椭球与旋转体,托求新在(0,0,1),三个半长轴一次为2,3,4.旋转体的母线1+t^2.(旋转体参考画法为:t=-1:0.1:1;[X,Y,Z]=cylinder(1+t.^2);surf(X,Y,Z))
matlab题目 ,编写程序
用subplot画出椭球与旋转体,托求新在(0,0,1),三个半长轴一次为2,3,4.旋转体的母线1+t^2.(旋转体参考画法为:t=-1:0.1:1;[X,Y,Z]=cylinder(1+t.^2);surf(X,Y,Z))

matlab题目 ,编写程序用subplot画出椭球与旋转体,托求新在(0,0,1),三个半长轴一次为2,3,4.旋转体的母线1+t^2.(旋转体参考画法为:t=-1:0.1:1;[X,Y,Z]=cylinder(1+t.^2);surf(X,Y,Z))
[x,y,z] = ellipsoid(0,0,1,2,3,4);
t=-1:0.1:1;
[X,Y,Z]=cylinder(1+t.^2);
subplot(2,2,1);
surfl(x, y, z);
subplot(2,2,2);
surfl(X,Y,Z);