Solves the linear system Ax=b for x using Gaussian elimination with partial pivoting.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Examples and Additional Documentation
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See Gaussian_Elimination.pdf (also included with download) for additional documentation.
Cite As
Tamas Kis (2026). Gaussian Elimination (gaussian_elimination) (https://github.com/tamaskis/gaussian_elimination-MATLAB/releases/tag/v3.1.0), GitHub. Retrieved .
General Information
- Version 3.1.0 (178 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
