Legende-Gauss-Lobatto nodes and weights

Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix.
10.4K Downloads
Updated 20 Apr 2004

View License

This script computes the nodes and weights for Legendre-Gauss-Lobatto quadrature as well as the LGL-vandermonde matrix for spectral methods. The nodes are the zeros of (1-x^2)*P_N(x), which include the endpoints. For pure Gauss quadrature, Chebyshev is numerically better and has a lower Lebesgue constant then Legendre, however, the opposite is true for Gauss-Lobatto quadrature.

Cite As

Greg von Winckel (2026). Legende-Gauss-Lobatto nodes and weights (https://uk.mathworks.com/matlabcentral/fileexchange/4775-legende-gauss-lobatto-nodes-and-weights), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Acknowledgements

Inspired: Legendre-Pade Approximation

Version Published Release Notes
1.0.0.0