matlab *.m file to do the LU decomposition.

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