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

Matlab File(s)

Title: Comparison of Iterative Solvers
Author: Bernd Flemisch
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:
File Size: 5 KB
File Version: 1.0
Matlab Version: 6.1
Date: 2002-08-08
Downloads: 7060
Download File

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