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.
Greg von Winckel (2021). Block tridiagonal solver (https://www.mathworks.com/matlabcentral/fileexchange/4695-block-tridiagonal-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows 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!