Question: EXERCISE 4 Enter the matrix A and the vector b in MATLAB: A = [ - 8 7 - 2 1 - 5 2 -
EXERCISE
Enter the matrix A and the vector in MATLAB:
The exact solution to the system is the vector
a Enter to find the factorization of the matrix Verify that
by computing
b Use the factorization you found in part a to solve the system Call the
computed solution dont forget that you will need
c Enter the vector x and compare your solution from part b with the exact solution
x by computing norm
NOTE: the norm function gives the magnitude of the vector, that is for a vector
dots, the norm of is defined as: norm Thus
the command norm measures how close the computed solution is to the
exact solution x You should expect a very small number.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
