Barycentric Lagrange Interpolating Polynomials and Lebesgue Constant

Computes lagrange interpolating polynomials and Lebesgue function/constant.
ダウンロード: 6.7K
更新 2004/3/8

ライセンスの表示

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.

引用

Greg von Winckel (2024). Barycentric Lagrange Interpolating Polynomials and Lebesgue Constant (https://www.mathworks.com/matlabcentral/fileexchange/4478-barycentric-lagrange-interpolating-polynomials-and-lebesgue-constant), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R12.1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersPolynomials についてさらに検索
謝辞

ヒントを得たファイル: Lagrange polynomial interpolation

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

The script has been made into two scripts, a barycentric lagrange interpolation scheme which is much faster, and a lebesgue calculator for theoretical interest.