This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: invariant under multiplication by Q , so k y k = k Q * y k . • Suppose we partition the vector y into two pieces: y = • y 1 y 2 ‚ . Then k y k 2 = k y 1 k 2 + k y 2 k 2 . 1 2. (10) Write a columnoriented algorithm to solve Ux = b where U is an n × n nonsingular upper triangular matrix. (If you can’t do this, you can get 5 points for any correct algorithm to solve this problem, but you may not use the backslash operator or an inverse matrix.) Answer: (Note that this is like the 4th exercise.) x = b; for j=n:1:1, x(j) = x(j) / U(j,j); x(1:j1) = x(1:j1)  U(1:j1,j)*x(j); end 2...
View
Full
Document
This homework help was uploaded on 02/05/2008 for the course CMSC 660 taught by Professor Oleary during the Fall '06 term at Maryland.
 Fall '06
 oleary

Click to edit the document details