Gaussian Elimination

バージョン 2.0 (1.2 KB) 作成者: Owais Ali
A simple function to reduce a matrix into row echelon form.
ダウンロード: 13
更新 2022/5/4

ライセンスの表示

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 :)
MATLAB リリースの互換性
作成: R2018b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
バージョン 公開済み リリース ノート
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