Newton's forward difference

How do i write a function forward_differences with the following description to construct Newton's forward difference table?
function T = forward_differences(Y) %FORWARD_DIFFERENCES Newton's forward differences % T = FORWARD_DIFFERENCES(Y) returns Newton's forward difference table. % Note that the forward difference table is laid out in the matrix T as: % y0 % y1 del y0 % y2 del y1 del^2 y0 % y3 del y2 del^2 y1 del^3 y0 % etc. %The rest of the matrix T is zero.

Antworten (1)

Raghvendra Kumar
Raghvendra Kumar am 7 Jul. 2020

0 Stimmen

Hi
You can take a look the at following answer for a similar kind of question or can go through the following Matlab codes for Newton's Forward Interpolation.

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 16 Apr. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by