Here's an example code for solving a linear system of equations using the Gauss-Seidel iteration method in MATLAB:
main.m768 chars37 lines
The output will be the solution vector and the number of iterations taken to reach the solution.
gistlibby LogSnag