This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Let A be the n n matrix of the form 2-1-1 2-1-1 2 . . . . . . . . .-1-1 2 . Read the help of the Matlab command diag() and use it create such a matrix for any given n . (a) For n = 50 , 100 , 500 , 1000 , 2000 , 4000, nd the condition number of the matrix using cond(A) and make a table. (b) Plot the condition numbers against n using loglog() . Include your plot. (c) How do the condition numbers depend upon n ? 1...
View Full Document
- Fall '08