matlab的rotate语句出错,figure(2)colormap('flag');n=100;x=linspace(-3,3,n);y=linspace(-3,3,n);z=linspace(-3,3,n);[X,Y,Z]=ndgrid(x,y,z);F=(X.^2+(9/4) .* (Y.^2)+Z.^2-1).^3-X.^2 .* Z.^3-(1/9) .* Y.^2 .* Z.^3isosurface(F,0)axis equalview([55 34]);tit
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 23:26:50
matlab的rotate语句出错,figure(2)colormap('flag');n=100;x=linspace(-3,3,n);y=linspace(-3,3,n);z=linspace(-3,3,n);[X,Y,Z]=ndgrid(x,y,z);F=(X.^2+(9/4) .* (Y.^2)+Z.^2-1).^3-X.^2 .* Z.^3-(1/9) .* Y.^2 .* Z.^3isosurface(F,0)axis equalview([55 34]);tit
matlab的rotate语句出错,
figure(2)
colormap('flag');
n=100;
x=linspace(-3,3,n);
y=linspace(-3,3,n);
z=linspace(-3,3,n);
[X,Y,Z]=ndgrid(x,y,z);
F=(X.^2+(9/4) .* (Y.^2)+Z.^2-1).^3-X.^2 .* Z.^3-(1/9) .* Y.^2 .* Z.^3
isosurface(F,0)
axis equal
view([55 34]);
title('旋转的心形_三维心形函数')
axis off
t=1
while 1,t
matlab的rotate语句出错,figure(2)colormap('flag');n=100;x=linspace(-3,3,n);y=linspace(-3,3,n);z=linspace(-3,3,n);[X,Y,Z]=ndgrid(x,y,z);F=(X.^2+(9/4) .* (Y.^2)+Z.^2-1).^3-X.^2 .* Z.^3-(1/9) .* Y.^2 .* Z.^3isosurface(F,0)axis equalview([55 34]);tit
句柄不对,改好了.
你的心好酷呀呵呵
clf;
close all;
clear all;
figure(2)
colormap('flag');
n=100;
x=linspace(-3,3,n);
y=linspace(-3,3,n);
z=linspace(-3,3,n);
[X,Y,Z]=ndgrid(x,y,z);
F=(X.^2+(9/4) .* (Y.^2)+Z.^2-1).^3-X.^2 .* Z.^3-(1/9) .* Y.^2 .* Z.^3;
isosurface(F,0);
axis equal
view([55 34]);
title('旋转的心形_三维心形函数')
axis off
h = allchild(gca);
t=1
while t