Senin, 12 Januari 2009

Matlab Script for Gauss Elimination

Gauss Elimination is one method to solve linear equation system. From linear equation system is made a matrix that consist a number of coeffisien unknown variable and their constant. This matrix is changed to upper/lower triangle matrix... and is changed one more to identity matrix. this process is shown above:

From this linear equation system we got matrix above:

This matrix must be a triangle matrix :
And must be an identity matrix :
I have ascript to make a diagonal matrix, that shown above:

And more script to make an identity matrix