File Exchange

image thumbnail

BlockTriSolver

version 1.0.0 (1.71 KB) by Lateef Adewale Kareem
Solves the block tridiagonal system Ax=d, where a, b, and c are the three diagonals of A.

2 Downloads

Updated 25 May 2020

View License

% Solves the block tridiagonal system Ax=d, where a, b, and c are the three
% diagonals of A. if the size of the block is N-by-N, then b is M-by-N, d
% is M-by-NN, a and c are each (M-N)-by-N, M is divisible by N, NN >= 1.
%
% Example
% M = 12; N = 3;
% a = rand(M-N,N); b = N+2*rand(M-N,N); c = rand(M-N,N); d = rand(M,10);
% x = BlockTriSolve(a, b, c, d);

Cite As

Lateef Adewale Kareem (2021). BlockTriSolver (https://www.mathworks.com/matlabcentral/fileexchange/76078-blocktrisolver), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020a
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!