%lglnodes.m % %Computes the Legendre-Gauss-Lobatto nodes, weights and the LGL Vandermonde %matrix. The LGL nodes are the zeros of (1-x^2)*P'_N(x). Useful for numerical %integration and spectral methods. % %Reference on LGL nodes and weights: ...