(block) tri diagonal matrices in matlab

The following Matlab project contains the source code and Matlab examples used for (block) tri diagonal matrices. Every once in a while I need to generate a tridiagonal matrix with replicated elements down the diagonals.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
blktridiag.m 5549
blktridiag.jpg 26008
blktridiag_demo.m 1322
blktridiag_demo.html 10477
blktridiag_demo.png 1175
blktridiag_demo_01.png 3269
blktridiag_demo_02.png 3306
blktridiag_demo_03.png 3183
blktridiag_demo_04.png 2916
blktridiag_demo_05.png 3262
blktridiag_demo_06.png 2940
blktridiag_demo_07.png 3106
blktridiag.rtf 1168
license.txt 1313