Matlab Database > Linear Algebra > Iterative Solvers > Comparison of Iterative Solvers

Matlab File(s)

Title: Comparison of Iterative Solvers
Author: Bernd Flemisch
E-Mail: flemisch-AT-mathematik.uni-stuttgart.de
Institution: University of Stuttgart
Description: This is a collection of routines comparing different iterative schemes for approximating the solution of a system of linear equations.
The schemes solve the system arising from the standard FD/FE discretization of the Poisson equation with zero right hand side on the unit square.
The routine compare_it.m plots the number of iterations needed until the error reaches a specified tolerance versus the number of unknowns. Its usage is compare_it(TOL, Nmax), where TOL is the specified tolerance, and Nmax is the maximum number of unknowns in ONE direction.
The routine compare_err.m plots the error decay versus the number of iterations. Its usage is compare_err(TOL, N) where TOL is the specified tolerance, and N is the number of unknowns in ONE direction.
Keywords: iterative solvers, Jacobi, Gauss-Siedel, CG
File Name: solvers.zip
File Size: 5 KB
File Version: 1.0
Matlab Version: 6.1
Date: 2002-08-08
Downloads: 6887
Download File

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