Tridiagonal Matrix Algorithm
Updated 23 Oct 2022
x = tridiagonal_matrix(A,d)
x = tridiagonal_vector(a,b,c,d)
Tridiagonal Matrix Convention
Most other references have 's ranging from to both in the definition of the tridiagonal matrix and in the algorithm used to solve the corresponding linear system. In this implementation, I have the 's ranging from to ; this makes the algorithm slightly more straightforward to implement.
Examples and Additional Documentation
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See "Tridiagonal_Matrix_Algorithm.pdf" (also included with download) for the technical documentation.
Tamas Kis (2023). Tridiagonal Matrix Algorithm (https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v6.0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!