Question: Program Assignment 0 3 B fits a 3 rd order polynomial to a set of X & Y data points and prints the polynomial equation

Program Assignment03B fits a 3rd order polynomial to a set of X & Y data points and prints the polynomial equation on the screen. You should complete the following program by developing the Fit3rdOrdPoly subroutine. This subroutine takes the data points in terms of a pair of same length vectors as X and Y and fits a 3 order polynomial using Least Squares Method. The output of the subroutine is a vector which elements are the polynomial coefficients. Use Microsoft excel to plot X vs Y data set, and X vs the 3rd order polynomial equation from your code on the same graph.

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!