5.0

5.0 | 6 ratings Rate this file 28 Downloads (last 30 days) File Size: 1.58 KB File ID: #4775

Legende-Gauss-Lobatto nodes and weights

by Greg von Winckel

 

17 Apr 2004 (Updated 20 Apr 2004)

Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix.

| Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
Legendre-Pade Approximation
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 (8)
12 Jan 2005 Ludek Broz

Excellent

20 Oct 2005 Alejandro Otero  
29 Sep 2006 Andreas Fichtner

Very accurate and easy to handle.

26 Mar 2007 Zeynep Alemdar

It is good.

27 Dec 2007 Fair Qu  
05 Mar 2008 R. Williams

very accurate, easily implemented. thank you

30 Jan 2009 Robert

It's very good!
However, the problem can be rather tricky.
see the book 'Nodal discontinuous Galerkin methods', in 2D case, the transformation from 1D LGL points to 2D triangle LGL points is really complicated

11 Dec 2011 zhang

I am looking!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
integration Greg von Winckel 22 Oct 2008 07:18:04
legendre Greg von Winckel 22 Oct 2008 07:18:04
polynomials Greg von Winckel 22 Oct 2008 07:18:04
lobatto Greg von Winckel 22 Oct 2008 07:18:04
nodes Greg von Winckel 22 Oct 2008 07:18:04
quadrature Greg von Winckel 22 Oct 2008 07:18:05
numerical Greg von Winckel 22 Oct 2008 07:18:05
nodes asaf avnon 03 Jul 2009 09:39:25

Contact us at files@mathworks.com