
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Numerical Linear Algebra; Subject: Mathematics; University: Illinois Institute of Technology; Term: Fall 2006;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

0 5 10 15 20 25 30 35 40
0
5
10
15
(b) Call svd to compute the singular values of A, and print the results. Plot these numbers using both plot and semilogy. What is the mathematically exact rank of A? How does this show up in the computed singular values? (c) For each i from 1 to rank(A), construct the rank-i matrix B that is the best approximation to A in the 2-norm. Use the command pcolor(B) with colormap(gray) to create images of these various approximations.
Compute the reduced QR factorization of Z in Matlab: by the Gram-Schmidt routine mgs of Problem 1, by the Householder routines house and formQ of the previous problem, and by Matlab’s built-in command [Q,R] = qr(Z,0). Compare these three and comment on any differences you see.