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.

回答 (1 件)

Raghvendra Kumar
Raghvendra Kumar 2020 年 7 月 7 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2014 年 4 月 16 日

回答済み:

2020 年 7 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by