下面的matlab程序画图出现什么问题?R=35*(1-erf(17/(2*sqrt(0.04*t))));%由公式计算出的扩张半径t=0:0.1:0.5*pi;p=0:0.1:2*pi;[theta,phi]=meshgrid(t,p);x=R*sin(theta).*cos(phi);y=R*sin(theta).*sin(phi);z=R*cos(theta);hold onsurfc(x,y,

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/05 01:36:58
下面的matlab程序画图出现什么问题?R=35*(1-erf(17/(2*sqrt(0.04*t))));%由公式计算出的扩张半径t=0:0.1:0.5*pi;p=0:0.1:2*pi;[theta,phi]=meshgrid(t,p);x=R*sin(theta).*cos(phi);y=R*sin(theta).*sin(phi);z=R*cos(theta);hold onsurfc(x,y,

下面的matlab程序画图出现什么问题?R=35*(1-erf(17/(2*sqrt(0.04*t))));%由公式计算出的扩张半径t=0:0.1:0.5*pi;p=0:0.1:2*pi;[theta,phi]=meshgrid(t,p);x=R*sin(theta).*cos(phi);y=R*sin(theta).*sin(phi);z=R*cos(theta);hold onsurfc(x,y,
下面的matlab程序画图出现什么问题?
R=35*(1-erf(17/(2*sqrt(0.04*t))));%由公式计算出的扩张半径
t=0:0.1:0.5*pi;
p=0:0.1:2*pi;
[theta,phi]=meshgrid(t,p);
x=R*sin(theta).*cos(phi);
y=R*sin(theta).*sin(phi);
z=R*cos(theta);
hold on
surfc(x,y,z)

下面的matlab程序画图出现什么问题?R=35*(1-erf(17/(2*sqrt(0.04*t))));%由公式计算出的扩张半径t=0:0.1:0.5*pi;p=0:0.1:2*pi;[theta,phi]=meshgrid(t,p);x=R*sin(theta).*cos(phi);y=R*sin(theta).*sin(phi);z=R*cos(theta);hold onsurfc(x,y,
R=35*(1-erf(17/(2*sqrt(0.04*t))));%你的这个t的值是多少,如果以下面的t代入,误差函数的值为0
%%
R=1; %这个是我临时取的
t=0:0.1:0.5*pi;
p=[0:0.1:2*pi,2*pi]; %补上这个缺口
[theta,phi]=meshgrid(t,p);
x=R.*sin(theta).*cos(phi);
y=R.*sin(theta).*sin(phi);
z=R.*cos(theta);
hold on
surfc(x,y,z)