File Exchange

image thumbnail

Gauss Elimination with Partial Pivoting

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


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 (2021). Gauss Elimination with Partial Pivoting (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Younes Boubker

Ryan Rogers

Taylor Conley

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!