can I find a solution for this integral?
Ältere Kommentare anzeigen
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 Kommentare
Shreen El-Sapa
am 3 Aug. 2021
Walter Roberson
am 3 Aug. 2021
What is size(x), size(y), size(n) ?
Shreen El-Sapa
am 3 Aug. 2021
Bearbeitet: Walter Roberson
am 3 Aug. 2021
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
am 3 Aug. 2021
The NaN appears to show up when x and y are both negative.
Shreen El-Sapa
am 3 Aug. 2021
Shreen El-Sapa
am 4 Aug. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Calculus finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!