To solve the system Ax=b for different b's, we can use the following code in Matlab:
main.m184 chars8 lines
To compute the maximum relative error of the solution in ∞-norm, we can use the following code:
main.m575 chars9 lines
The maximum relative error of the solution in ∞-norm can be as large as 2.4178e-15.
gistlibby LogSnag