Gauss Seidel method

Version 1.0.1 (2.16 KB) by Robby Ching
An iterative or indirect numerical method in solving a linear system of equations


Updated 30 Jun 2020

View License

It is a numerical method that employs an iterative approach. Its counterpart for a single linear equation is the successive substitution or fixed-point iteration. It asks the user the coefficient and the RHD (Right-hand side) values matrix. It also lets the user choose which termination criterion to have, whether a %relative error or number of iterations. It checks if the system is diagonally dominant; if not, it would re-arrange the equations in the most diagonally dominant form possible, ensuring convergence. If the given system cannot be totally diagonally dominant, it alerts the user.

Cite As

Robby Ching (2023). Gauss Seidel method (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

changed some overview details