Barycentric Lagrange Interpolating Polynomials and Lebesgue Constant
by Greg von Winckel
13 Feb 2004
(Updated 08 Mar 2004)
Computes lagrange interpolating polynomials and Lebesgue function/constant.
|
Watch this File
|
| File Information |
| Description |
The first script, barylag.m, performs a barycentric lagrange interpolation on a for a set of given data. This approach follows from a paper by L. N. Trefethen (ref inside script comments), and is much faster than the previous script. Additionally, it has been vectorized to improve computation time even more. The second script, lebesgue.m is for computing the lebesgue function and constant for a set of nodes. If you want to interpolate data using barylag but are using some unusual set of nodes, use the second script to check the lebesgue constant ensure good numerical conditioning. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Lagrange polynomial interpolation
|
| MATLAB release |
MATLAB 6.1 (R12.1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 06 Oct 2006 |
Orlando RodrÃguez
|
|
|
| Updates |
| 08 Mar 2004 |
The script has been made into two scripts, a barycentric lagrange interpolation scheme which is much faster, and a lebesgue calculator for theoretical interest. |
|
Contact us at files@mathworks.com