Ana*_*mov 3 integration matlab symbolic-computation
我只是想在matlab中解决方程,但它确实给了我一个警告. "警告显式积分无法找到" 经过一些搜索后,人们建议用Double()方法包装我的方程式,但即便如此,我收到错误答案(ans = 0),我在mathematica/maple上计算为4.62240566.

我认为它与浮点有关,但我不确定如何修复它
syms t
int( (t^2+100)^(-1/2)*exp(-10^-3*(t^2 + 100)^(1/2)),t , 1, Inf)
Warning: Explicit integral could not be found.
Run Code Online (Sandbox Code Playgroud)
从这个http://www.mathworks.nl/help/symbolic/int.html来看,您需要的代码是:
int(1/(exp(1000*(t^2 + 100)^(1/2))*(t^2 + 100)^(1/2)), t , 1,Inf)
Run Code Online (Sandbox Code Playgroud)
或者也许你可以使用
t == 1..inf
Run Code Online (Sandbox Code Playgroud)
并vpa在示例中包装它,而不是使用double.