matlab绘制旋转地球体怎么做?function [res] = test6(r)%创建旋转的球体[x,y,z]=sphere(r);h=surfl(x,y,z);shading interpcolormap(winter)axis equalwhile 1rotate(h,[1 1 0],2);drawnowend为什么总是有错误?哪里错了?
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/12 20:04:47
![matlab绘制旋转地球体怎么做?function [res] = test6(r)%创建旋转的球体[x,y,z]=sphere(r);h=surfl(x,y,z);shading interpcolormap(winter)axis equalwhile 1rotate(h,[1 1 0],2);drawnowend为什么总是有错误?哪里错了?](/uploads/image/z/9244821-21-1.jpg?t=matlab%E7%BB%98%E5%88%B6%E6%97%8B%E8%BD%AC%E5%9C%B0%E7%90%83%E4%BD%93%E6%80%8E%E4%B9%88%E5%81%9A%3Ffunction+%5Bres%5D+%3D+test6%28r%29%25%E5%88%9B%E5%BB%BA%E6%97%8B%E8%BD%AC%E7%9A%84%E7%90%83%E4%BD%93%5Bx%2Cy%2Cz%5D%3Dsphere%28r%29%3Bh%3Dsurfl%28x%2Cy%2Cz%29%3Bshading+interpcolormap%28winter%29axis+equalwhile+1rotate%28h%2C%5B1+1+0%5D%2C2%29%3Bdrawnowend%E4%B8%BA%E4%BB%80%E4%B9%88%E6%80%BB%E6%98%AF%E6%9C%89%E9%94%99%E8%AF%AF%3F%E5%93%AA%E9%87%8C%E9%94%99%E4%BA%86%3F)
xN@_] %4]A,2Ԗmve P*@brD8U(If8^
c
Vtv~Qۚͅ/wxOV9OuT;%%PI@(6kEZ9 s*dHF2hݤaEd'NeQRUM7&E'4Vǒ))T5*6l8b+?y{3oL} {h([!;GR+&ݧc٥RcRCP)2qG#}%Ͼ`w5va}U;.5q'ysF'l ܆&NA״sų*tY*ލ
w\XqpՄva/;pD^Vҙ7MM962wt]x!
matlab绘制旋转地球体怎么做?function [res] = test6(r)%创建旋转的球体[x,y,z]=sphere(r);h=surfl(x,y,z);shading interpcolormap(winter)axis equalwhile 1rotate(h,[1 1 0],2);drawnowend为什么总是有错误?哪里错了?
matlab绘制旋转地球体怎么做?
function [res] = test6(r)
%创建旋转的球体
[x,y,z]=sphere(r);
h=surfl(x,y,z);
shading interp
colormap(winter)
axis equal
while 1
rotate(h,[1 1 0],2);
drawnow
end
为什么总是有错误?哪里错了?
matlab绘制旋转地球体怎么做?function [res] = test6(r)%创建旋转的球体[x,y,z]=sphere(r);h=surfl(x,y,z);shading interpcolormap(winter)axis equalwhile 1rotate(h,[1 1 0],2);drawnowend为什么总是有错误?哪里错了?
你让他无限循环,你关闭图形窗口,那个时候h的句柄就被关闭了,所以就报错误了;
你然他转一定圈数停止!
比如转一百圈
function [res] = test6(r)%创建旋转的球体
t=1;
[x,y,z]=sphere(r);
h=surfl(x,y,z);
shading interp
colormap(winter)
axis equal
while t
matlab绘制旋转地球体怎么做?function [res] = test6(r)%创建旋转的球体[x,y,z]=sphere(r);h=surfl(x,y,z);shading interpcolormap(winter)axis equalwhile 1rotate(h,[1 1 0],2);drawnowend为什么总是有错误?哪里错了?
ps怎么做球体
怎么用软件做仿生建筑的3D就是给出一个公式/函数,根据公式/函数绘制出3d图形比如,给出球体的公式/函数,就会绘制出球体的3D图形...
matlab 绘制离散函数图怎么话
matlab 绘制离散函数图怎么话
在matlab中画圆时,怎么绘制十字坐标轴
proe旋转混合曲面怎么绘制坐标系
求用opengl绘制球体,用c++,并且能够旋转,缩放,平移.或者只画个球体就可以啦,
如何绘制球体?
matlab中怎么旋转图像?
matlab数学符号怎么旋转
用matlab按离散点绘制图形在做实验得到一组180个点的离散数据,是txt文档,怎么用matlab绘制出图形啊.包括调入数据的语句什么的?
ps里怎么让一个物体围着一个球体旋转
怎么用matlab绘制二元三次函数的图象
在MATLAB中这种二维矩阵图怎么绘制啊?
怎么用Matlab绘制一个积分函数图象
请问怎么用matlab绘制已给数据的直方图
怎么运用matlab绘制这个图形,程序是什么