What is a good way to create a tridiagonal matrix in matlab?
How do I create tridiagonal matrix in MATLAB?