
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Math 477/577 Computer Assignment 3 Charles Tier
For each question, please submit the Matlab code along with an execution of the code.
(a) Formation and solution by the normal equations using MATLAB’s \ command. (b) QR factorization computed using a routine mgs that you must write that uses the mod- ified Gram-Schmidt. (c) QR factorization using MATLAB’s qr. (d) x = A\b. (e) SVD using MATLAB’s svd.
You should produce 5 table of twelve coefficients. In each list, use a red pen to circle the digits that appear to be incorrect due to rounding error. Explain the differences.
etA^ =
k=
Ak^ t
k k!.
Use randm and expm to deal with normally distributed random numbers and matrix expo- nentials, respectively.