ysuyeyazj
2012-11-25, 22:41
x=0:0.01:4;Rn=2;Rs=10;
w=2*sqrt(Rn^2-(Rn-x).^2);
H=sqrt(Rs^2-(w/2).^2); b=2*atan(w/H/2);
ans=int(b,0,x)
??? Undefined function or method 'int' for input arguments of type 'double'.
要求b从0到x的积分,怎么出错了
w=2*sqrt(Rn^2-(Rn-x).^2);
H=sqrt(Rs^2-(w/2).^2); b=2*atan(w/H/2);
ans=int(b,0,x)
??? Undefined function or method 'int' for input arguments of type 'double'.
要求b从0到x的积分,怎么出错了