Basic Science World

Solving a set of linear equations using LU Factorization

This script uses the method of LU-factorization to solve a linear system of equations on the form Ax=b where A is the matrix of the Coefficients and b is right hand side of the equations

Hint: You must interchange rows if necessary to make the value of A(1,1) the largest magnitude of any coefficient in the first column.

Number of Equations