作业帮 > 综合 > 作业

matlab中的积分函数Warning:Explicit integral could not be found.

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/29 21:49:44
matlab中的积分函数Warning:Explicit integral could not be found.
syms Dd Dd0 x y z Wn theta Ue Ve n s p q
Dd0=10^(-3);
Wn=((2*n+1).*pi.*x.*Dd0)/(3.6);
Dd=Dd0.*tanh(1.76.*sqrt((1/x)-1));
Ue=sqrt((1+sqrt(1+(Dd^2.*(sin(2.*theta)).^2)./(Wn.^2)))/2);
Ve=sqrt((1-sqrt(1+(Dd^2.*(sin(2.*theta)).^2)./(Wn.^2)))/2);
p=(Dd^2.*(sin(2.*theta)).^2.*exp(-2.*Wn.*cos(theta).*0.1));
q=sqrt(Wn.^2+Dd.^2.*(sin(2.*theta)).^2).*(Ue.^4+Ve.^4.*exp(-4.*Wn.*cos(theta).*0.1));
z=p./q;
s=int(z,theta,-pi/2,pi/2);
Warning:Explicit integral could not be found.
既然定义了字符,就用solve,解出符号解,再用eval代入数值
再问: 本人新手,能不能帮我改下这个程序瓦,重谢!!!!!!!!!