Has anyone posted an m-file which computes the zeros of bessel functions, J_n and Y_n?

 Réponse acceptée

Steven Lord
Steven Lord le 22 Juil 2015

0 votes

Why not just use FZERO?
zroot = fzero(@(z) besselj(1, z), 3)
besselj(1, zroot) % Should be small

1 commentaire

Pierrick HAMEL
Pierrick HAMEL le 31 Oct 2019
Modifié(e) : Pierrick HAMEL le 31 Oct 2019
I added a guess for the ith zero of the bessel function of order n
for n =0:5
for i=1:6
guess = 2.5505 + 1.2474*n + (i-1)*pi;
Liste_zeros_Bessel(i,n+1) = fzero(@(z) besselj(n, z),guess);
end
end

Connectez-vous pour commenter.

Plus de réponses (1)

Mostafa Nakhaei
Mostafa Nakhaei le 30 Mai 2019

7 votes

The above answer only calculates one zero. However, in most cases, more than one zero is needed.
There are several m.file for finding the zeros of bessel function that U include in here:
Thanks
Mostafa

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by