This script uses Halley's method to compute the positive k zeros of the Bessel function of the first kind J(n,x) and second kind Y(n,x) where n is a positive number. The routine has been tested for up to k=100 and n=100.
Greg von Winckel (2023). Bessel Function Zeros (https://www.mathworks.com/matlabcentral/fileexchange/6794-bessel-function-zeros), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Bessel Zero Solver
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
The guess function has been improved so the script is more robust. Also I have added bessel functions of the second kind.