## Gaussian Elimination (gaussian_eliminati​on)

version 3.1.0 (178 KB) by
Solves the linear system Ax=b for x using Gaussian elimination with partial pivoting.

Updated 27 Dec 2021

From GitHub

# gaussian_elimination

Solves the linear system for using Gaussian elimination with partial pivoting.

## Syntax

x = gaussian_elimination(A,b)

## Description

x = gaussian_elimination(A,b) solves the linear system for , where and .

NOTE: This function is intended as a demonstration of gaussian elimination. The "\" and "/" operators (or equivalently the "mldivide" and "mrdivide" functions) should still be used in practice when solving linear systems.

• See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.

### Cite As

Tamas Kis (2022). Gaussian Elimination (gaussian_elimination) (https://github.com/tamaskis/gaussian_elimination-MATLAB/releases/tag/v3.1.0), GitHub. Retrieved .

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