File Exchange

## Gauss-Seidel Method, Jacobi Method

version 1.0 (29.4 KB) by

The Jacobi and Gauss-Seidel Iterative Methods

85 Downloads

Updated

Refer: https://www3.nd.edu/~zxu2/acms40390F12/Lec-7.3.pdf
Jacobi Method:
Jacobi iterative method is an algorithm for determining the solutions of a diagonally dominant system of linear equations. Each diagonal element is solved for, and an approximate value is plugged in. The process is then iterated until it converges.

Gauss–Seidel method:
Gauss–Seidel method, also known as the Liebmann method or the method of successive displacement, is an iterative method used to solve a linear system of equations.

Faruk Öztürk

### Faruk Öztürk (view profile)

in jacobi method you need to change x(j) with xold(j) otherwise it's gauss seidel

Bhartendu

### Bhartendu (view profile)

Code is shared for Learning and practising purpose. Solution given is valid and correct.

Pushpendu Ghosh

### Pushpendu Ghosh (view profile)

It's incorrect. Gauss Siedel and Jacobi give same output

Julien GUEGAN

### Julien GUEGAN (view profile)

In your example, you compare the 2 differents methods with differents initial guess ? That's doesn't seem relevant ... And if I use the same initial guess, the 2 methods have exactly the same convergence ....

Han Zhang

Muhammad Raza

### Muhammad Raza (view profile)

Modified Gauss-Seidel (G-S) Load Flow in IEEE 6 Bus System (Matlab)
https://dg-algorithm.blogspot.com/2018/01/modified-gauss-seidel-g-s-load-flow-in.html

Mais Alsharif

ML_Lab

No One

### No One (view profile)

earth science learner

Saad Khan

### Saad Khan (view profile)

does not work for me wrong solution

NISHANT DHIMAN

### NISHANT DHIMAN (view profile)

Solve the nonlinear ordinary differential equation for the temperature distribution:

sagar kumar dash

Vidhula M.V

### Vidhula M.V (view profile)

##### MATLAB Release
MATLAB 8.3 (R2014a)
##### Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.