This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (5) S = S * S T = inv ( S ) (1) The exact inverse of S should have integer entries. Why? Explain. Check the entries of T using format long . Round the entries of T to the nearest integer by setting T = round ( T ). Compute T * S and compare with eye (5). (2) Set in addition A = triu ( ones (5) , 1) + diag (1 : 5) B = S * A * T The matrices A and B both have the eigenvalues 1, 2, 3, 4, and 5. Use MATLAB to compute the eigenvalues of B . How many digits of accuracy are there in the computed eigenvalues. Use MATLAB to compute and compare each of the following: (a) det( A ) and det( B ) (b) trace ( A ) and trace ( B ) (c) SA 2 T and B 2 (d) SA1 T and B1 Gerardo Laerriere, November 5, 2009...
View
Full
Document
This note was uploaded on 10/16/2011 for the course MTH 343 taught by Professor Lafferier during the Spring '09 term at Portland State.
 Spring '09
 Lafferier
 Linear Algebra, Algebra, matlab

Click to edit the document details