Question: please solve this code by using any programing tool such as MATLAB 4.21 Modify the user-defined function GaussPivot in Program 4-2 (Example 4-3) such that
please solve this code by using any programing tool such as MATLAB

4.21 Modify the user-defined function GaussPivot in Program 4-2 (Example 4-3) such that in each step of the elimination the pivot row is switched with the row that has a pivot element with the largest absolute numerical value. For the function name and arguments use x-GaussPivotLarge (a, b), where a is the matrix of coefficients, b is the right-hand-side column of constants, and x is the solution. (a) Use the GaussPivotLarge function to solve the system of linear equations in Eq. (4.17). (b) Use the GaussPivotLarge function to solve the system: o 3 8-5-1 61 312-4 8 5-211X21 20 8 0 0 10-3 711XyI = 145 31 00 0 4 00 4-6 0 2s 3 0 5 0 0-61 34 x41 136
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
