Gaussian Elimination (gaussian_elimination)
Solves the linear system Ax=b for x using Gaussian elimination with partial pivoting.
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.
引用格式
Tamas Kis (2024). Gaussian Elimination (gaussian_elimination) (https://github.com/tamaskis/gaussian_elimination-MATLAB/releases/tag/v3.1.0), GitHub. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。