LegendrePoly
by David Terr
07 May 2004
(Updated 15 Jun 2004)
This program returns the coefficients of the Legendre polynomial P_n, given n.
|
Watch this File
|
| File Information |
| Description |
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). |
| Acknowledgements |
This submission has inspired the following:
LegendreShiftPoly
|
| MATLAB release |
MATLAB 6.0 (R12)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 25 Aug 2004 |
Joerg Enderlein
|
|
|
| 23 Dec 2004 |
anas baha
|
|
|
| 12 Apr 2007 |
Thijs Stegeman
|
|
|
| 06 Jul 2007 |
Liang G
|
|
|
| Updates |
| 18 May 2004 |
I replaced this with a new version which is more efficient, since it no longer stores all the previously computed Legendre polynomials. |
| 18 May 2004 |
I replaced the figure with a new version with a legend and a grid. |
| 15 Jun 2004 |
I modified this function so that it returns a column vector. |
|
Contact us at files@mathworks.com