Legendre Laguerre and Hermite - Gauss Quadrature
by Geert Van Damme
19 Feb 2010
(Updated 21 Feb 2010)
Nodes and weights for Legendre Laguerre and Hermite - Gauss Quadrature
|
Watch this File
|
| File Information |
| Description |
This .zip file contains 3 mfiles for computing the nodes and weights for Legendre Laguerre and Hermite - Gauss Quadrature of any order n.
Contrary to most of the files in use, the included files are all based on a symmetrical companion matrix, the eigenvalues of which are always real and correspond to the roots of the respective polynomials.
Hence, there is a 100% certainty of avoiding complex roots at high orders. It is known that the latter issue often causes huge numerical troubles. |
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 19 Feb 2010 |
No updates were made. Only the description was changed: it should read "the eigenvalues of the companion matrix" instead of "the roots of the companion matrix". Obviously, a matrix has no roots. |
| 21 Feb 2010 |
Some minor changes to the code's comments. |
|
Contact us at files@mathworks.com