+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Newbie level 5
    Points: 965, Level: 7

    Join Date
    Dec 2009
    Posts
    9
    Helped
    0 / 0
    Points
    965
    Level
    7

    Derivative of Bessel Function in Matlab

    hi there,

    i'd like to know how to get the derivative of first kind Bessel Function and the derivative of second kind of Bessel function in Matlab.

    Thanks!

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 4
    Points: 10,710, Level: 24

    Join Date
    Sep 2001
    Location
    Argentina
    Posts
    1,131
    Helped
    362 / 362
    Points
    10,710
    Level
    24

    Derivative of Bessel Function in Matlab

    Please explain.
    Do you need to obtain symbolic expressions or to perform numerical calculation?
    Regards
    Z



    •   AltAdvertisement

        
       

  3. #3
    Newbie level 5
    Points: 965, Level: 7

    Join Date
    Dec 2009
    Posts
    9
    Helped
    0 / 0
    Points
    965
    Level
    7

    Derivative of Bessel Function in Matlab

    I need to perform numerical calculation like you said
    thanks
    CZ



    •   AltAdvertisement

        
       

  4. #4
    Newbie level 6
    Points: 642, Level: 5

    Join Date
    May 2010
    Posts
    13
    Helped
    0 / 0
    Points
    642
    Level
    5

    Re: Derivative of Bessel Function in Matlab

    See http://ceta.mit.edu/ceta/comp_spec_func/mcjylv.m
    it should calculate the derivative of Bessel of first and second kind!



  5. #5
    Advanced Member level 4
    Points: 10,710, Level: 24

    Join Date
    Sep 2001
    Location
    Argentina
    Posts
    1,131
    Helped
    362 / 362
    Points
    10,710
    Level
    24

    Derivative of Bessel Function in Matlab

    Hi,

    Exact formulas for the derivatives can be obtained symbolically. With symbolic toolbox in Matlab, the following lines give it for the first kind (put besselk for the second kind):

    syms z;
    syms nu;
    diff(besselj(nu,z),z)

    The results are:

    -besselj(nu+1,z)+nu/z*besselj(nu,z)
    -besselk(nu+1,z)+nu/z*besselk(nu,z)

    (The same can be found in math books or tables.)
    Then, use built-in besselj and besselk functions.
    I hope this is what you need.
    Regards

    Z


    1 members found this post helpful.

  6. #6
    Newbie level 2
    Points: 17, Level: 1

    Join Date
    Mar 2013
    Posts
    2
    Helped
    0 / 0
    Points
    17
    Level
    1

    Re: Derivative of Bessel Function in Matlab

    Hi zorro,
    what if "z" is also a function of two variables, for example, z(x,y)? thanks...



    •   AltAdvertisement

        
       

  7. #7
    Advanced Member level 4
    Points: 10,710, Level: 24

    Join Date
    Sep 2001
    Location
    Argentina
    Posts
    1,131
    Helped
    362 / 362
    Points
    10,710
    Level
    24

    Re: Derivative of Bessel Function in Matlab

    Hi ozly,

    Then the above is still valid.
    If what you want are the derivatives with respect to x and y, then apply the chain rule.
    Regards

    Z



--[[ ]]--