フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Newton's forward difference table

2 ビュー (過去 30 日間)
Greg
Greg 2011 年 10 月 28 日
Hi everybody I'm a little bit stuck on this two part question if you could help me out that would be great with working to see which part I'm doing wrong.
First I have to write a function with thefollowing description to construct the 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.
The second part is to write a funciton with the following description to actually evaluate the polynomial function y = forward_eval(X, T, x) %FORWARD_EVAL Evaluate Newton’s forward difference form of the %interpolating polynomial % y = FORWARD_EVAL(X, T, x) returns y = Pn(x), where Pn is the % interpolating polynomial constructed using the abscissas X and forward % difference table T Hence, your submission will consis

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by