Due: November 7, 2003.
Note: This won't be graded until November 10. You should be able to know if you are doing it right if your answers agree with Matlab's answers using polyfit.
Given: data file. The The observations consist of time (seconds) in the first column, and distance (cm) is in the second column. Time is assumed to be known perfectly.
Description
The data were created using a second order polynomial, with noise added to this model using Matlab's random number generator. So the model for the observations l is just the equation for a parabola:
l = a * t2 + b * t + c
You will use least squares estimation techniques to solve for the unknown coefficients a, b, and c. You will also use Matlab's polyfit function to check your work.
Steps to follow:
Your code, plots, your answers for a, b, and c (printed to three decimal points) and questions.