ss4 - Math 6800 Solutions for Problem Set 4 W.D Henshaw 1 Consider the Householder reector F = I 2uu u u = 1 Determine the eigenvalues and eigenvectors

ss4 - Math 6800 Solutions for Problem Set 4 W.D Henshaw 1...

This preview shows page 1 - 3 out of 10 pages.

W.D. Henshaw Math 6800: Solutions for Problem Set 4 1.Consider the Householder reflector,F=I-2uu*,u*u= 1.Determine the eigenvalues and eigenvectors, determinant, and singular values ofF. 1
3.Write a Matlab function[W,R] = house(A)that computes an implicit representation of a fullor reduced QR factorization forACm×nwithmnusing Householder reflections. The outputvariables are a lower triangular matrixWCm×nwhose columns are the Householder vectorsvk,and an upper triangular matrixRCRn×n.Also write a Matlab functionQ = formQ(W)that takes the matrixWfromhouseand generatesthe full matrixQCm×m.(a) Test your program on the Vandermonde matrix from problem set 3 withm= 5. CompareQandRfrom the Matlab function[Q,R]=qr(A)to the output fromhouseandformQ. PrintQandR

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture