matlab *.m file to solve a tridiagonal problem.

Click here to down-load tri_diag.m
Click here to down-load a matlab session where I used this routines.