File Exchange

image thumbnail

Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal)

version 2.0.2 (235 KB) by Tamas Kis
Solves the tridiagonal linear system Ax=d for x using the tridiagonal matrix algorithm (i.e. the Thomas algorithm).


Updated 27 Mar 2021

From GitHub

View Version History

View license on GitHub

See or “DOCUMENTATION.pdf” for additional documentation and examples. Examples can also be found in “EXAMPLES.m”.

The “tridiagonal” function implements the tridiagonal matrix algorithm (i.e. the Thomas algorithm) to solve the tridiagonal linear system Ax=d. In this implementation, only the matrix A and the vector d are required; “tridiagonal” automatically extracts the vectors a, b, and c from the tridiagonal matrix A (some other implementations require the user to manually input the vectors a, b, and c).

Cite As

Tamas Kis (2021). Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal) (, GitHub. Retrieved .

Comments and Ratings (0)

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

Community Treasure Hunt

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

Start Hunting!