Question: Write a Matlab script that will find the best-fit 5th order polynomial for data points x = 0 1.3963 2.7925 4.1888 5.5851 6.9813 8.3776 9.7738

Write a Matlab script that will find the best-fit 5th order polynomial for data points

x = 0 1.3963 2.7925 4.1888 5.5851 6.9813 8.3776 9.7738 11.1701 12.5664

y = 0 0.9848 0.3420 -0.8660 -0.6428 0.6428 0.8660 -0.3420 -0.9848 -0.0000

Calculate MSE. Also, calculate the mean error e_i (ME) and the mean absolute value error |e_i| (MAVE).

Plot the original data and the model curve (smooth curve).

Add axis labels and legend ('observed', 'best-fit 5th order p(x), MSE=..., ME=, MAVE=').

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!