Newton's Divided Difference

バージョン 1.0.0.0 (203 Bytes) 作成者: Daniel
Using recursion, small file size
ダウンロード: 1.5K
更新 2014/3/6

ライセンスの表示

This can handle about vectors with size 20 (takes about 7 seconds for that size)
a vector of 10 only takes a fraction of a second.

Solves Newton's divided difference, which is naturally a recursive process. Seeing the recursion helps understand the process of finding divided differences.

Generally you'd only need a few coefficients, so 10 is not such a bad limit as far as speed.

Used to calculate coefficients of a interpolation polynomial

http://en.wikipedia.org/wiki/Divided_differences

Usage : divdiff(x,y), or divdiff(x,f(x)) if f is an anonymous function.

Steal my code... knowledge should be shared. Just don't try and sell it... unless you need lunch money and you've exhausted all your options, then I understand.

引用

Daniel (2024). Newton's Divided Difference (https://www.mathworks.com/matlabcentral/fileexchange/45768-newton-s-divided-difference), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNumerical Integration and Differential Equations についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

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