title: Jacobi/Gauss Seidel Methods in Matlab
body: <p>I need to implement the Jacobi and Guass Seidel, methods in Matlab.</p>
  
  <p>I found <a href="http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/5235" rel="nofollow">this link</a> which has code that produces correct results (on the one sample I tried) for each.</p>
  
  <p>See post 3.</p>
  
  <p>My problem is that the implementation is different to that described <a href="http://en.wikipedia.org/wiki/Jacobi_method" rel="nofollow">here</a>, and <a href="http://en.wikipedia.org/wiki/Gauss%E2%80%93Seidel_method" rel="nofollow">here</a></p>
  
  <p>I'm happy enough using someone else's code (indeed I prefer something tried and tested) but I want to understand exactly how it works.</p>
  
  <p>Can someone point me to a description of the implementations used in the post?</p>
  
  <p>Alternately are there other implementations of these algortihms that might be considered benchmarks in Matlab?</p>