Unformatted text preview: these methods. 3/. Find, by hand, the first order polynomial that best fits these four points and the resulting correlation coefficient. x: 1 3 6 10 y: 0 54 97 190 Check your answer by using "polyfit" and “correlate.” 4/. Use Matlab to fit a cubic polynomial to the following data: x 3 4 5 7 8 9 10 11 y 1.6 3.6 4.4 3.4 2.2 2.8 3.8 4.6 Plot the polynomial for x = 2 to 12 along with the data points and calculate the correlation coefficient. The cubic should have a maximum between x = 3 and x = 8. Locate this maximum twice, once using fzero and once using fminbnd , and output the maximum value of the cubic. Submit a script file (lab9.m) that does all this as proof of your attendance in the lab....
View
Full Document
 Winter '09
 Matrices, Gauss–Seidel method, Jacobi method

Click to edit the document details