Gaussian Elimination with Partial Pivoting
Version 1.4 (86,4 KB) von
Mazin Mustafa
Finds the solution to the linear system Ax=b using Gaussian Elimination with Partial Pivoting (GEPP) algorithm
This is a simple basic code implementing the Gaussian Elimination with Partial Pivoting (GEPP) algorithm. Although there are plenty of codes to solve this system, the majority don't rely on a direct implementation of the algorithm. The motivation to make this upload is to provide a reference code which allows you to write similar algorithm in other programming languages. A testbench code is included to check the accuracy of the algorithm vs the powerful built-in MATLAB linear system solver. I hope you find this code useful.
See the attachment Algorithm.pdf for more details.
Zitieren als
Mazin Mustafa (2024). Gaussian Elimination with Partial Pivoting (https://www.mathworks.com/matlabcentral/fileexchange/86088-gaussian-elimination-with-partial-pivoting), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2020b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
upload
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.4 | minor correction |
||
1.3 | update |
||
1.2 | Correction |
||
1.1 | Tags added |
||
1.0.0 |