Matlab Database > Linear Algebra > Iterative Solvers > Gauss-Seidel iterative method

Matlab File(s)

Title: Gauss-Seidel iterative method
Author: Alain kapitho
Institution: University of Pretoria
Description: Gauss_seidel(A, b, N) solve iteratively a system of linear equations whereby A is the coefficient matrix, and b is the right-hand side column vector. N is the maximum number of iterations. The method implemented is the Gauss-Seidel iterative.The starting vector is the null vector, but can be adjusted to one's needs. The iterative form is based on the Gauss-Seidel transition/iteration matrix Tg = inv(D-L)*U and the constant vector cg = inv(D-L)*b. The output is the solution vector x.
Keywords: Gauss-Seidel, iterative technique, transition matrix
File Name: gauss_seidel.m
File Size: 2 KB
File Version: 1.0
Matlab Version: 7.0 (R14)
Date: 2007-08-14
Downloads: 62491
Download File

Upload your own files today! Click here for more information.