Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 136Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started