Gaussian elimination with partial pivoting

This code will perform the Gaussian elimination with partial pivoting for any square matrix.

You are now following this Submission

This code can be used to solve a set of linear equations using Gaussian elimination with partial pivoting. Note that the Augmented matrix rows are not directly switches. Instead a buffer vector is keeping track of the switches made. The final solution is determined using backward substitution.

Cite As

Timothee (2026). Gaussian elimination with partial pivoting (https://www.mathworks.com/matlabcentral/fileexchange/26774-gaussian-elimination-with-partial-pivoting), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0