Question: Write a MATLAB user defined function that can be used to determine the coefficients Newton interpolating polynomial Name the main function function [acoeff, yfound] NewtonInterp

 Write a MATLAB user defined function that can be used to

Write a MATLAB user defined function that can be used to determine the coefficients Newton interpolating polynomial Name the main function function [acoeff, yfound] NewtonInterp (x,y,xfind) xfind yfound acoeff vector containing x data vector containing y data x value for which to interpolate if needed {may be a single value or a vector the interpolant value corresponding to the given xfind coefficients of the newton polynomial Your function should be general enough to handle any number of data points, N Your function should also be able to return only the coefficients even if there is no afind in the input arguments Your function should report error if the length of x vector is not the same as y vector ANY other neat feature will be appreciated Write a MATLAB user defined function that can be used to determine the coefficients Newton interpolating polynomial Name the main function function [acoeff, yfound] NewtonInterp (x,y,xfind) xfind yfound acoeff vector containing x data vector containing y data x value for which to interpolate if needed {may be a single value or a vector the interpolant value corresponding to the given xfind coefficients of the newton polynomial Your function should be general enough to handle any number of data points, N Your function should also be able to return only the coefficients even if there is no afind in the input arguments Your function should report error if the length of x vector is not the same as y vector ANY other neat feature will be appreciated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!