Linear Algebra and Its Applications · Problem 7.4.14

Linear Programming and Game Theory — Gilbert Strang

Mathematics · gauss-seidel-computer-code

Problem

Write a computer code (MATLAB or other) for Gauss-Seidel. You can define SS and TT from AA, or set up the iteration loop directly from the entries aija_{ij}. Test it on the −1-1, 22, −1-1 matrices AA of order 10, 20, 50, with b=(1,0,…,0)b = (1, 0, \ldots, 0).

Related theory

Browse the problem library