Gauss Elimination

版本 1.0.1 (2.2 KB) 作者: Robby Ching
A direct numerical method in solving a system of linear equations
72.0 次下载
更新时间 2020/6/30

查看许可证

It evaluates a given system of linear equations, asking the user the coefficient matrix and constant or RHD (Right-hand side) values matrix. It scales the coefficients and the constants so that the largest coefficient is 1. The purpose of scaling is to minimize round-off errors, especially when one of the equations has a relatively larger coefficient than the rest, and to also thoroughly check for ill-conditioned systems. It also employs partial pivoting, where the current pivot equation is replaced if its pivot element is near 0. Partial pivoting is applied through the whole computational process and so not just only once (if such is necessary). When all other equations have a pivot element near 0, it alerts the user. It also alerts the user if the system is either an ill-conditioned system or a singular system.

引用格式

Robby Ching (2024). Gauss Elimination (https://www.mathworks.com/matlabcentral/fileexchange/77500-gauss-elimination), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1

changed some overview details

1.0.0