Unformatted text preview: 1 . In Matlab, this is c=ones(n,1) . Deﬁne the vector b=A * c . Then solve Ax = b for x using your Gaussian elimination code, and determine the relative forward error and relative backward error of your computed solution x . Make a table of RFE, RBE, and the ratio of the two Error Magniﬁcation Factor = RFE RBE for n = 6 , 8 , 10 , 12 , 14 . 3. Repeat Step 2 for the matrix B ij = 2 i + 3 j ( i + j ) 2 ( mod 1) . The matrix B consists of the fractional parts of the entries of the matrix A . You may want to use Matlab’s mod or rem command to ﬁnd the fractional part of a number. Compare the results you obtained with matrix A with those of matrix B . Begin your report by answering the three questions above. Print out the Matlab code used and your Matlab session, and include these with your report. Due: Thurs., March 18...
View
Full
Document
This note was uploaded on 10/27/2010 for the course MATH 446 taught by Professor Staff during the Spring '08 term at George Mason.
 Spring '08
 Staff
 Equations, Gaussian Elimination

Click to edit the document details