Question: I need a Matlab code for this question. 2. (20 pts) Write a MATLAB function, called Newtons_divided_differences that inputs a set of data points (x,
I need a Matlab code for this question.

2. (20 pts) Write a MATLAB function, called Newtons_divided_differences that inputs a set of data points (x, y) = (datx, daty), a set x of numbers at which to interpolate, and outputs the divided dif- ferences table F and the polynomial interpolant, y, evaluated at x using Newton's divided differences. Your function header should look something like: function y = Newtons_divided_differences (x, datx, daty)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
