clear; % Solves a block tridiagonal SPD algebraic system. % Uses domain-decomposition and Schur complement. % Define the block 5x5 matrix AAA n = 5; A = zeros(n); for i = 1:n A(i,i) = 4; if (i>1) A(i,i-1)=-1; end if (i1) AA(newi:lasti,newi-n:lasti-n) = -I; end if (i