legendre function of second kind

8 views (last 30 days)
Yashika
Yashika on 13 Mar 2019
I am wondering if matlab have inbult function to compute legendre function of second kind like mathematica have LegendreQ.
  4 Comments
Yashika
Yashika on 14 Mar 2019
It worked, thanks.
David Goodmanson
David Goodmanson on 14 Mar 2019
I don't know how accurate that might be for n as high as 20, and it would be interesting to see how well the recurrence relation is satisfied in the region n ~~ 20.

Sign in to comment.

Answers (2)

Bjorn Gustavsson
Bjorn Gustavsson on 14 Mar 2019
You can find a toolbox for special functions on the file exchange: Computation of Special Functions
I haven't (or at least don't remember) used this toolbox, but it might solve your task.
HTH

Sophus
Sophus on 4 Apr 2025
You can use the hypergeometric function as a representation:

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!