can I find a solution for this integral?
Mostra commenti meno recenti
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 Commenti
Shreen El-Sapa
il 3 Ago 2021
Walter Roberson
il 3 Ago 2021
What is size(x), size(y), size(n) ?
Shreen El-Sapa
il 3 Ago 2021
Modificato: Walter Roberson
il 3 Ago 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
il 3 Ago 2021
The NaN appears to show up when x and y are both negative.
Shreen El-Sapa
il 3 Ago 2021
Shreen El-Sapa
il 4 Ago 2021
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Calculus in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!