Gaussian Elimination

A simple function to reduce a matrix into row echelon form.

You are now following this Submission

The function takes a single input argument and gives a single output variable. It is better to push the null vectors in the matrix on the end rows and columns in the matrix. Rows and columns in the output may sometimes need to be rearranged (swapped) to make an echelon form. All other is set.
The code is super simple. Hope you find it helpful :)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

The earlier code did not take care of the zero in the pivotal position (if there is). A single if-conditional statement made the function work better.

1.1.0

just added a display picture :)

1.0.0