If we solve Gauss elimination without pivoting there is a chance of divided by zero condition.Suppose,a equation with first co-efficient zero is placed at row one of matrix.If we want to make zero the first column second row element we get 'divided by zero' condition.It is not possible to make it zero by any matrix operation.What we can do,we can swap the maximum element row to first row.Exactly,what i have done in this code.
Maruf Ahamed (2021). Maruf261/GaussE (https://github.com/Maruf261/GaussE), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!