Question: (a). Write two functions in Matlab. The first function, called divdiff, should read in two vectors x and y, and return a table (a matrix)


(a). Write two functions in Matlab. The first function, called divdiff, should read in two vectors x and y, and return a table (a matrix) of the divided difference values. This means, the first few lines of your divdiff.m file should be: function a-divdiff (x,y) % input: x,y: the data set to be interpolated % output: a: table for Newton's divided differences
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
