Newton's forward difference

12 次查看(过去 30 天)
amanda
amanda 2014-4-16
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
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.

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by