Gauss Elimination

This is one of the process of solving simultaneous linear equation by Back substitution method.
456 Downloads
Aktualisiert 2 Apr 2018

Lizenz anzeigen

First step of this process is it's directly converts the linear simultaneous equations to matrix form.For partial pivoting you need to enter the equation manually.We can't put a equation on first place if the equation first co-efficient is zero.In this case,we need to swap between another equation.Inner loop of this code makes the required column component zero.Matrix a is the matrix of co-efficient and b is the constants.I don't really do the substitution in this code.I just use the command 'linsolve(a,b)' to find the solution of two matrix of upper triangular and constants.

Zitieren als

Maruf Ahamed (2024). Gauss Elimination (https://www.mathworks.com/matlabcentral/fileexchange/66720-gauss-elimination), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0