LegendreShiftPoly

This program returns the coefficients of the shifted Legendre polynomial P_n, given n.

You are now following this Submission

This program returns the coefficients of the shifted Legendre polynomial P_n, given n. The result is a row vector with powers of x decreasing from left to right (standard MATLAB notation). Like for other polynomials, LegendreShiftPoly(n) can be evaluated at x by typing polyval(LegendreShiftPoly(n),x).

Based on the LegendrePoly routine by David Terr

Cite As

Peter Roche (2026). LegendreShiftPoly (https://www.mathworks.com/matlabcentral/fileexchange/5701-legendreshiftpoly), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: LegendrePoly

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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