Question: Please do in MATLAB Computer-controlled machines are used to cut and to form metal and other materials when manufacturing products. These machines often use interpolating

Please do in MATLABPlease do in MATLAB Computer-controlled machines are used to cut and to

Computer-controlled machines are used to cut and to form metal and other materials when manufacturing products. These machines often use interpolating functions (such as splines) to specify the path to be cut or the contour of the part to be shaped. The data in this table represents the shape of a car's front fender (units are in feet). Interpolate the data using a polynomial that goes through all the data points. (Make sure to display the coefficients you get for the interpolating polynomial.) Plot the data points and the interpolating polynomial through all the data points over the range x = 0 to 2.25 on a single figure. Use magenta squares to represent the data points and a solid red line for the polynomial. Use the axis command to scale the plot so that x ranges from 0 to 2.25 and y ranges from 0 to 1.5. Plot the spline interpolation through the same data points on the same figure as part b. Use a dotted blue line for the spline. For x = 1, find the corresponding estimated y values using your polynomial interpolation and your spline interpolation. Which interpolation gives the better estimate for y? How did you determine which interpolation was better

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!