Jacobi method matlab code pdf download. m, defines the -1, 2, -1 tridiagonal matrix.