The following is Exercise 3 of a Numerical Analysis task I have to do as part of my university course on the subject.
Find an approximation of tomorrow's temperature based on the last 23 values of hourly temperature of your city ( Meteorological history for Thessaloniki {The city of my univ} can be found here: http://freemeteo.com)
You will approximate the temperature function with a polynomial of 2nd, 3rd and 4th degree, using the Least Squares method. Following that, you will find the value of the function at the point that interests you. Compare your approximations qualitatively and make a note to the time and date you're doing the approximation on.
Maybe it's due to fatigue due to doing the first two tasks without break, or it's my lack of experience on numerical analysis, but I am completely stumped. I do not even know where to start.
I know it's disgusting to ask for a solution without even showing signs of effort, but I would appreciate anything. Leads, tutorials, outlines of the things I need to work on, one after the other, anything.
I'd be very much obliged to you.
NOTE: I am not able to use any MATLAB in-built approximation functions.