Built-in functions for associated Legendre polynomials in MATLAB

2 replies · 3K views · last reply
member 428835
Hi PF!

In MATLAB I'm trying to use associated Legendre polynomials of the 1st and second kind, widely regarded as ##P_i^j## and ##Q_i^j##, where ##j=0## reduces these to simply the Legendre polynomials of the 1st and second kind (not associated).

Does anyone here know if MATLAB has a built in function, or the most efficient way to build them? Also, I have Mathematica, and they are built in there.

Thanks!

Josh