Matlab 求积分后出现警告Warning:Explicit integral could not be foundr=1;syms Theta_2 a Phi_2 Phif1=sin(Theta_2)*sin(Theta_2)*cos(Phi_2);f2=sqrt(r^2+a^2-2*r*a*sin(Theta_2)*cos(Phi-Phi_2));f3=f1/f2;f4=int(f3,Theta_2,0,pi);f5=int(f4,Phi_2,0,pi);

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/29 10:16:35
Matlab求积分后出现警告Warning:Explicitintegralcouldnotbefoundr=1;symsTheta_2aPhi_2Phif1=sin(Theta_2)*sin(The

Matlab 求积分后出现警告Warning:Explicit integral could not be foundr=1;syms Theta_2 a Phi_2 Phif1=sin(Theta_2)*sin(Theta_2)*cos(Phi_2);f2=sqrt(r^2+a^2-2*r*a*sin(Theta_2)*cos(Phi-Phi_2));f3=f1/f2;f4=int(f3,Theta_2,0,pi);f5=int(f4,Phi_2,0,pi);
Matlab 求积分后出现警告Warning:Explicit integral could not be found
r=1;
syms Theta_2 a Phi_2 Phi
f1=sin(Theta_2)*sin(Theta_2)*cos(Phi_2);
f2=sqrt(r^2+a^2-2*r*a*sin(Theta_2)*cos(Phi-Phi_2));
f3=f1/f2;
f4=int(f3,Theta_2,0,pi);
f5=int(f4,Phi_2,0,pi);
本人刚入手matlab,运算上述积分,在对f5积分时,出现Warning:Explicit integral could not be found,

Matlab 求积分后出现警告Warning:Explicit integral could not be foundr=1;syms Theta_2 a Phi_2 Phif1=sin(Theta_2)*sin(Theta_2)*cos(Phi_2);f2=sqrt(r^2+a^2-2*r*a*sin(Theta_2)*cos(Phi-Phi_2));f3=f1/f2;f4=int(f3,Theta_2,0,pi);f5=int(f4,Phi_2,0,pi);
Warning:Explicit integral could not be found
这是提示你matlab求不出上述积分的符号解.
此时,你可求数值积分.
% 以下代码在7.1版以上均可运行.
r=1;
a=2; % 输入a的值
Phi=3; % 输入Phi的值
f1 = @(Theta_2,Phi_2) sin(Theta_2).*sin(Theta_2).*cos(Phi_2);
f2 = @(Theta_2,Phi_2) sqrt(r^2+a^2-2*r*a.*sin(Theta_2).*cos(Phi-Phi_2));
f3 = @(Theta_2,Phi_2) f1(Theta_2,Phi_2)./f2(Theta_2,Phi_2);
f5 = dblquad(f3,0,pi,0,pi)

Matlab 求积分后出现警告Warning:Explicit integral could not be foundr=1;syms Theta_2 a Phi_2 Phif1=sin(Theta_2)*sin(Theta_2)*cos(Phi_2);f2=sqrt(r^2+a^2-2*r*a*sin(Theta_2)*cos(Phi-Phi_2));f3=f1/f2;f4=int(f3,Theta_2,0,pi);f5=int(f4,Phi_2,0,pi); matlab求下列表达式的积分 如何用matlab求这个定积分? matlab求一个定积分解析解 用MATLAB在圆区域内求积分 ae粒子替换出现警告, MATLAB 我想让下面图中的蓝点出现后 就消失 求指导啊 用MATLAB对函数exp(-1/x)在区间(2,x)上求积分.怎么求?用int积分会出现个Ei()的东西,得不到结果啊,能不能给个用高斯积分的代码 求matlab求定积分的问题~%积分函数function f=jifen(x)a=6378245;b=6356863;e=sqrt((a^2+b^2)/(a^2));f=a^2*(1-e^2)*(cos(x))/((1-((e^2)*(sin(x))^2))^2);%积分函数完在命令窗口输入[S,n]=quad('jifen',0,54*pi/180)后回车出现错误信 matlab积分完后画图sinc(t)*sinc(1-t)在0到1上对t求积分,并画图. 用matlab求积分出现dilog这个函数.如图,我想求的是这个积分int(((1 / (1 + exp(-0.0564 - 0.044 * x)))*((x +7.71) / (27.49 +7.71))),-7.71,4.69)然后如何去掉dilog,把结果化简成小数呢? matlab求定积分求定积分,积分te的负t次dt,积分区域在-3到-4. Matlab神经网络工具箱问题~启动nntool,输入相关数据,训练后再仿真出现问题:我输入值是一个2*83的矩阵,仿真程序警告“Too Much Argument”无输出,请问是输入格式有误还是怎么样的?是too many output 用altium designer画完图编译后,出现几百警告,几乎的所有的都是Off grid pin, matlab中,积分上限函数求出后,怎么根据上限范围画出积分曲线? MATLAB求积分int('x.*log(1+x)',0,1) 在matlab中怎样求带有参数的定积分 在MATLAB中怎么求表达式的积分?