How to do symbolic integration
3 ビュー (過去 30 日間)
回答 (2 件)
Star Strider 2021 年 12 月 23 日
It apparently does not have a symbolic solution (this is not uncommon).
It does have a piecewise closed-form solution, at least over some regions, and one option would be to numerically integrate it (although that could have problems as well) —
syms omega x n m real
% assuming omega::real,omega>0,m::integer,m>0,n::integer,n>0;
integrand = cos(atan(1,x))^m*sin(omega*x)/(1+x^2)^((n)/2+1)
integrand = simplify(integrand, 500)
nfun = matlabFunction(integrand) % Anonymous Function Argument To 'integral'
This likely as good as it gets.