Letbe a known value, such as ones(n,1) and compute b = Ax. Theoretically,should be the known solutionHowever, due to the nature of floating point computation the relative error/is not expected to bebut it should be small ifis not ill-conditioned. The idea for this problem is to observe ill-conditioning using the matrixgallery(’lotkin’, n). Perform the steps presented in the following algorithm and comment on the results. The notationin a print statement indicates the value to print. For instance,
printThe condition number of A iscondition number with 8 significant digits
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here