File Exchange

image thumbnail

Legendre Collocation Differentiation

version (1.64 KB) by Greg von Winckel
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 (2020). Legendre Collocation Differentiation (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Mahdi S. Hosseini

A generalized framework called MaxPol has been recently published and made available here

MaxPol provides a framework to design variety of numerical differentiation kernels with properties like:
(1) Cutoff (lowpass) design with no side-lob artifacts (for noise-robust case)
(2) Arbitrary order of differentiation
(3) Arbitrary polynomial accuracy
(4) Derivative matrix design
(5) 2D Derivative Kernels with Steering moments
(6) Intuitive examples in Signal and Image processing

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

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!