This script numerically differentiates a function on the Chebyshev-Gauss-Lobatto grid in O(N*log(N)) time. Equivalent to computing D*x where D is the Chebyshev collocation matrix, but much faster for large vectors x.
Greg von Winckel (2021). Fast Chebyshev Differentiation (https://www.mathworks.com/matlabcentral/fileexchange/8481-fast-chebyshev-differentiation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: ORTHPOLYFIT, ORTHPOLYVAL
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!