Write Two Functions Matlab First Function Called Divdiff Read Two Vectors X Y Return Tabl Q29612872

(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 Newtons divided differences

(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 Show transcribed image text (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

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *