File Exchange

image thumbnail

Chebfun - current version

version (3.61 MB) by Chebfun Team
Numerical computation with functions


Updated 27 May 2020

GitHub view license on GitHub

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 (2020). Chebfun - current version (, GitHub. Retrieved .

Comments and Ratings (12)

Very nice and useful work

This package is one of the best contributions to the approximation theory and especially to the practical numerical mathmatics in the last years. I use it for solutions in electromagnetic theory at boundary problems in cylindrical waveguides to find all roots at characteristic equations with combinations of any bessel functions first and second kind. Compliments to Lloyd N. Trefethen and his team.

Khaled Rady

perfect contribution, many thanks

saif raaed

Very useful.

your mom

nice package, honey!

Peng Liu

Since this package has been updated very often recently, it would be great if a release note can be made available, so that users know what have been changed/added in a new release.




Updated to v5.6.0

Released v5.5.0.

Released v5.4.0.

Chebfun v5.3.0 has been released. For details on what has changed, see the release notes at htttp://

Updated October 29, 2015.

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