% 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.
% 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);
Lateef Adewale Kareem (2021). BlockTriSolver (https://www.mathworks.com/matlabcentral/fileexchange/76078-blocktrisolver), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!