File Exchange

image thumbnail

Gauss Elimination

version 1.0.0.0 (1.16 KB) by Maruf Ahamed
This is one of the process of solving simultaneous linear equation by Back substitution method.

33 Downloads

Updated 02 Apr 2018

View License

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.

Cite As

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

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux