Chebfun - current version

Numerical computation with functions
Updated 1 Jun 2023

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Chebfun is an open-source software system for numerical computing with functions. The mathematical basis is piecewise polynomial interpolation implemented with what we call “Chebyshev technology”. The foundations are described, with Chebfun examples, in the book Approximation Theory and Approximation Practice (L. N. Trefethen, SIAM 2013). Chebfun has extensive capabilities for dealing with linear and nonlinear differential and integral operators, and also includes continuous analogues of linear algebra notions like QR and singular value decomposition. The Chebfun2 extension works with functions of two variables defined on a rectangle in the x-y plane.
Most Chebfun commands are overloads of familiar MATLAB commands — for example sum(f) computes an integral, roots(f) finds zeros, and u = L\f solves a differential equation.
To get a sense of the breadth and power of Chebfun, a good place to start is by looking at our Examples ( or the introductory Guide (
Please contact us with any questions/comments at

Cite As

Chebfun Team (2024). Chebfun - current version (, GitHub. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!