Legendre polynomials

Fast computation of the associated Legendre polynomial

Download
Download

You are now following this Submission

Cite As

Daniel Baboiu (2026). Legendre polynomials (https://in.mathworks.com/matlabcentral/fileexchange/28008-legendre-polynomials), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

1. Added definitions for m<0 and l<0
2. Returns 0 if |m|>|l|, NaN for |x|>1
3. Defaults to m=0 if only two arguments are provided

Download
1.0.0

Download