can I find a solution for this integral?
이전 댓글 표시
r=sqrt(x.^2+y.^2);
theta=atan2(y,x);
ab1=1;xi=2;n=10;
h=@(t) (t.*(exp(-xi.*(r.*cos(theta)+ab1))-exp(-t.*(r.*cos(theta)+ab1))).*((-1).^(n-1).*exp(-ab1.*t)./factorial( n )).*t.*besselj(1,t.*r.*sin(theta)));
integral(h, 0, inf)
댓글 수: 7
Shreen El-Sapa
2021년 8월 3일
Walter Roberson
2021년 8월 3일
What is size(x), size(y), size(n) ?
Shreen El-Sapa
2021년 8월 3일
편집: Walter Roberson
2021년 8월 3일
format long g
n = randi([5 10])
x = randn(1,5)
y = randn(1,5)
syms t real
r = sqrt(x.^2+y.^2);
theta = atan2(y,x);
ab1=1; xi=2; n=10;
h=@(t) (t.*(exp(-xi.*(r.*cos(theta)+ab1))-exp(-t.*(r.*cos(theta)+ab1))).*((-1).^(n-1).*exp(-ab1.*t)./factorial( n )).*t.*besselj(1,t.*r.*sin(theta)));
hint = integral(h, 0, inf, 'ArrayValued', true)
Walter Roberson
2021년 8월 3일
The NaN appears to show up when x and y are both negative.
Shreen El-Sapa
2021년 8월 3일
Shreen El-Sapa
2021년 8월 4일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!