See https://github.com/tamaskis/tridiagonal-MATLAB 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).
Tamas Kis (2021). Tridiagonal Matrix Algorithm (Thomas Alg.) (tridiagonal) (https://github.com/tamaskis/tridiagonal-MATLAB/releases/tag/v2.0.2), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!