You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This program returns the coefficients of the 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, LegendrePoly(n) can be evaluated at x by typing
polyval(LegendrePoly(n),x).
Cite As
David Terr (2026). LegendrePoly (https://au.mathworks.com/matlabcentral/fileexchange/4890-legendrepoly), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: LegendreShiftPoly
General Information
- Version 1.0.0.0 (480 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | I modified this function so that it returns a column vector. |
