Question: Ignore the last sentence about testing the program. Thanks for the help! Write a matlab function getcoeff with parameters x amd y where the matrix
Write a matlab function getcoeff with parameters x amd y where the matrix x contains the x values of interpolation data. Give the corresponding y values of the interpolation data in a matrix variable y. Your function should return in y the 08 coefficients of the Newton form of the polynomial that interpolates the data using the method of divided differences. Do not introduce an other matrix variables in your function. Test with data of prob. 8 on p. 147 and print y after each change by the function. Write a matlab function getcoeff with parameters x amd y where the matrix x contains the x values of interpolation data. Give the corresponding y values of the interpolation data in a matrix variable y. Your function should return in y the 08 coefficients of the Newton form of the polynomial that interpolates the data using the method of divided differences. Do not introduce an other matrix variables in your function. Test with data of prob. 8 on p. 147 and print y after each change by the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
