problem 3 ge with partial pivoting matlab 1 develop debug and test a p
Problem 3: GE with partial pivoting (MATLAB)
1. Develop, debug and test a program in MATLAB to solve a system of equations using
Gauss elimination with partial pivoting. Base the program on pseudocode included
below in Figure 1. Let the first line of the function be:
function x = GaussPivot (A,b).
2. Test the program using the following system of equations,
4x1+x2-3 = -2,
5x1 + x2 + 2x3 = 4,
6x₁ + x₂ + x3 = 6.
3. Modify the function so that it computes and returns the determinant (with the correct
sign), and detects whether the system is singular based on a near-zero determinant.
Define "near-zero" as being when the absolute value of the determinant is below a
tolerance. When this occurs, design the function so that an error message is displayed
and the function terminates. Let the first line of the new function be:
function [x, D] = GaussPivotNew (A, b, tol).
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.