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
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 Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!