It may be your lucky day. Just download my blktridiag code from the file exchange.
It is designed to create a sparse block tridiagonal array, exactly what you will want.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!