How to make integral of Hankel function at infinite?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi guys,
I have a question on numerical integral of Hankel functions, need help from all you. Thank you in advance
How do we treat with integral of a function contains Hankel function from 0 to infinite? for example, function=x.besselh(1,0,x)?
statement "quad" not allow at infinite.
0 Kommentare
Antworten (2)
Mike Hosea
am 25 Sep. 2012
Use INTEGRAL. If you don't have R2012a or later, use QUADGK. If you don't have QUADGK, it's time to upgrade.
2 Kommentare
Mike Hosea
am 26 Sep. 2012
I didn't even think about the function you were integrating. I assumed it was integrable. I'm not saying QUADGK can handle any integrable problem, because there are some that it can't, but if you're going to try to integrate a function that oscillates with increasing amplitude as x increases, I don't think it matters what method you use.
Matt Fig
am 25 Sep. 2012
This one is easy. Because:
besselh(1,0,x) % Zero for all x.
we know the integral from 0 to inf is 0.
8 Kommentare
Walter Roberson
am 27 Sep. 2012
Looks to me like the two component parts of besselh both oscillate infinitely often towards x=infinity, and it appears that although the oscillations decay that they do so much more slowly than x increases; this leads to the indeterminate (infinity times 0) + I * (infinity times 0) as the limit at infinity, which is undefined.
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!