- #1
squenshl
- 479
- 4
Homework Statement
The link http://www.york.ac.uk/depts/maths/data/ts/welcome.htm gives the average monthly temperature T in Fahrenheits for Dubuque, Iowa from 1964 to 1975. Let T = a0 + sum from i = 1 to k of ai cos(2*pi*i*m/12) + sum from i = 1 to k of bi sin(2*pi*i*m/12) where m is the number of months from January, 1964.
Use the SVD and MATLAB to find suitable values of a and b for k = 2 and k = 4. As part of your answer include a plot which displays the data abd T for k = 2 and k = 4.
Homework Equations
SVD equations
The Attempt at a Solution
How do I even start to answer the question. Do I put the 144 data values in matrix form and use the svd command in matlab.