Professional Documents
Culture Documents
txt');
b= zeros(15);
for i=1:n
b(i,i)=1
end
L = L_decomposition (A,b);
U = U_decomposition (A,b);
for i= 1:n
x(:,i) = decomp_LU (L,U,b(:,i));
matrix_x = x
%x is the inverse matrix of A
end
L_decomposition (A,b);
U_decomposition (A,b);