Problems with overflow with Bessel

I'm working on simulation of whispering gallery mode and i need to calculate the field inside some microresonators using Bessel and Hankel functions and their derivatives.
Everything works until i tried to evaluate this function for some nu,Z values.
In some cases i have found -Inf, +Inf or 0.
E.g.
spherical_besselj(400,100)
ans =
5.036580472507386e-194
spherical_besselj(600,100)
ans =
0
This is very frustrating for me because this limits my simulations in a range of values too small.
Can you help me?
Can someone let me understand the problem?
Is there a way to prevent this problems?
Thank you very much
Andrea

1 comentario

Walter Roberson
Walter Roberson el 17 de Nov. de 2015
You might need to switch to the Symbolic Toolbox

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Etiquetas

Preguntada:

el 17 de Nov. de 2015

Comentada:

el 17 de Nov. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by