LegendrePoly
Version 1.0.0.0 (480 Bytes) by
David Terr
This program returns the coefficients of the Legendre polynomial P_n, given n.
4.9K Downloads
Updated
15 Jun 2004
No License
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 (2024). LegendrePoly (https://www.mathworks.com/matlabcentral/fileexchange/4890-legendrepoly), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Find more on Polynomials in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: LegendreShiftPoly
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | I modified this function so that it returns a column vector. |