% P2. Checks ShowSparseLU

clc
randn('seed',0)
p = 10; r = 10; 
A = cell(p,1); C = cell(p-1,1);
for i=1:p
    A{i} = randn(r,r); A{i} = A{i}'*A{i};
    if i<p
        C{i} = randn(r,r);
    end
end
close all
ShowSparseLU(A,C,1)
figure(1)
pause(3)
figure(2)
pause(3)

