File Exchange

image thumbnail

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

6 Downloads

Updated 30 Jun 2020

View Version History

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 (2020). Gauss Seidel method (https://www.mathworks.com/matlabcentral/fileexchange/77506-gauss-seidel-method), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

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!