
Least Squares fit
So i have due for my linear algebra class my last matlab project which reads exactly this from the website:
" Second Computational Project, due by the final or sooner. At a mimimum, compare a least squares fit using the average vs. a least squares fit using a linear model."
"
Given this data: http://www.math.ufl.edu/~olson/popclockest.txt
It seems simple enough, and I did this:
http://img407.imageshack.us/img407/8648/ls1a.jpg
What is the difference between the "least squares fit using the average" and the "least squares fit using a linear model" and which ones the one i did already, thanks!