Generating difference table for Newton interpolation method

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 个)

类别

帮助中心File Exchange 中查找有关 Tables 的更多信息

提问:

2018-8-24

Community Treasure Hunt

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

Start Hunting!

Translated by