Block tridiagonal solver

Solves block tridiagonal systems of equations.


Updated 1 Apr 2004

View License

This is an implementantion of the Gauss algorithm for block tridiagonal systems. The blocks must all be the same size. This approach requires for loops so is of value when the matrix is large. Ideal for solving 1D BVPs using finite element or spectral methods.

Cite As

Greg von Winckel (2023). Block tridiagonal solver (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Fast Tridiagonal System Solver

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes