File Exchange

image thumbnail

Gauss Elimination with Partial Pivoting

version 1.0.0.0 (1.45 KB) by Maruf Ahamed
Solving linear simultaneous equations

41 Downloads

Updated 10 Apr 2018

View License

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.

Cite As

Maruf Ahamed (2020). Gauss Elimination with Partial Pivoting (https://www.mathworks.com/matlabcentral/fileexchange/66862-gauss-elimination-with-partial-pivoting), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux