Legendre Collocation Differentiation

Numerically differentiates functions sampled at the LGL nodes.
Updated 28 May 2004

View License

This script computes the Legendre-Gauss-Lobatto nodes and the corresponding Legendre differentiation matrix. For some problems, Legendre gives faster convergence than Chebyshev. Useful for spectral methods.

Cite As

Greg von Winckel (2024). Legendre Collocation Differentiation (https://www.mathworks.com/matlabcentral/fileexchange/5015-legendre-collocation-differentiation), MATLAB Central File Exchange. Retrieved .

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

Inspired by: DMSUITE

Inspired: Collocation-based spectral-element toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes