Gaussian elimination, also known as row reduction, is an algorithm in linear algebra for solving a system of linear equations. It is usually understood as a sequence of operations performed on the corresponding matrix of coefficients. This method can also be used to find the rank of a matrix, to calculate the determinant of a matrix, and to calculate the inverse of an invertible square matrix. The method is named after Carl Friedrich Gauss (1777–1855). The following MATLAB routine “gauss()” implements the Gauss elimination algorithm, and the program test.m is designed to solve it.
Applied Numerical Methods Using MATLAB®
Author(s): Won Young Yang, Wenwu Cao, Tae‐Sang Chung, John Morris
First published:14 January 2005
Print ISBN:9780471698333 |Online ISBN:9780471705192 |DOI:10.1002/0471705195
Copyright © 2005 John Wiley & Sons, Inc.
Meysam Mahooti (2020). Gaussian Elimination (https://www.mathworks.com/matlabcentral/fileexchange/73485-gaussian-elimination), MATLAB Central File Exchange. Retrieved .
test.m is modified to compare results with MATLAB built-in functions
Image has changed.