Question: Using Matlab, implement Gaussian Elimination with Partial Pivoting based on Algorithm 2 . 4 on p . 7 2 in Heath. Make your implementation as
Using Matlab, implement Gaussian Elimination with Partial Pivoting based on
Algorithm on p in Heath. Make your implementation as efficient as possible. Write
a Matlab script which clearly demonstrates that your code works as intended. Turnin your
Matlab code and outputWe note that the permutation matrix
permutes the rows of A into the order determined by partial pivoting. An alterna
tive interpretation, therefore, is to think of partial pivoting as a way of determining
a row ordering for the system in which no interchanges would be required for nu
merical stability though of course there is no way to determine such an ordering
in advance Thus, we obtain the factorization
where now really is lower triangular. To solve the linear system we
first solve the lower triangular system by forwardsubstitution, then the
upper triangular system by backsubstitution.
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
