Generating difference table for Newton interpolation method

1 Ansicht (letzte 30 Tage)
PJS KUMAR
PJS KUMAR am 24 Aug. 2018
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

Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by