Code covered by the BSD License  

Highlights from
Bessel Derivative Zeros

5.0

5.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 4.53 KB File ID: #28001

Bessel Derivative Zeros

by Carey Smith

 

23 Jun 2010 (Updated 11 May 2011)

Zeros of the first derivative of Bessel function of the first kind.

| Watch this File

File Information
Description

Calculates the zeros of the first derivatives of Bessel function.
Updates BessDerivZerosBisect.m with these changes:
1. Allows for m = 0
2. Allow the user to specify the particular m and k values desired.
3. Allows for a tolerance input parameter
4. Uses a table look-up to get closer initializations for small values of m and k.
5. Adds error checking
6. Computes the derivative w.r.t. to x rather than w.r.t. m (although the old method works, too.)

2011/05/11 Used Vincent's improvements.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
BessDerivZerosBisect

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
27 Apr 2011 Vincent

Thanks for this.

However, it tends to crash for high values of m and k > 1. (cf. for instance m=44 and k=4)

I think I fixed it, though, by replacing lines 103 to 110 by:

        while JprimeL*JprimeR > 0
            if(JprimeL > 0)
                Aleft = Aleft - (Aright - Aleft)/2;
                JprimeL=besselderiv(Aleft,m);
            else
                Aright = Aright + (Aright - Aleft)/2;
                JprimeR=besselderiv(Aright,m);
            end
        end

04 Jun 2011 Chandana

Thank you, Carey smith and Vincent. You saved my time. Very useful work for my modeling.
Thank you again.

Please login to add a comment or rating.
Updates
09 Jul 2010

Modified 2010/07/09
Carey Smith--Changed the initial guess for large values of m
& corrected the initial guess for n=17, m=5

11 May 2011

Incorporated Vincent's inprovements for large values of m.

Tag Activity for this File
Tag Applied By Date/Time
mathematics Carey Smith 24 Jun 2010 10:34:07
physics Carey Smith 24 Jun 2010 10:34:07
bessel Carey Smith 24 Jun 2010 10:34:07
bessel derivatives Carey Smith 24 Jun 2010 10:34:07
zeros Carey Smith 24 Jun 2010 10:34:07
harmonic Carey Smith 24 Jun 2010 10:34:07

Contact us at files@mathworks.com