Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Newton's forward difference table
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!