Generating difference table for Newton interpolation method

1 回表示 (過去 30 日間)
PJS KUMAR
PJS KUMAR 2018 年 8 月 24 日
I am using the following code to generate forward difference table.
diff=yd'; for j=2:n for i=1:n-(j-1) diff(i,j)=diff(i+1,j-1)-diff(i,j-1) end end
Is there any simple method or function in MATLAB to generate forward / backward difference table

回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by