Professional Documents
Culture Documents
a. norm(a), rms(a), avg(b), std(b) using Matlab (you cannot call the library functions)
c. Find the correlation coefficient of the two vectors by hand and using Matlab.
2. Can the vector c = [4 3 1 0 1]T be represented by a linear combination of the two vectors in problem 1? How can
you use Gaussian elimination to answer this question?
3. Exercise 1.6
4. Exercise 1.9
5. Consider the regression model , where is a 5-vector. Answer the following (justify your answer).
i. What is the size of and ?
ii. True or false: if then does not depend on . Why?
iii. True or false: if then then increasing while keeping all the other 's the same will decrease
y. Why?
iv. True or false: if , then increasing by 10 units and decreasing x5 by 20 units while keeping
all other 's the same, will decease by approximately 10 units. Why?
v. If rms(β) is small, then change of does not effect very much.
6. Exercise 2.1
7. Exercise 2.8
9. Show that
*The exercises are from the VLMS book's latest version https://web.stanford.edu/~boyd/vmls/