for i = 1:5
    for j = 1:5
        A(i,j) = 1/(i+j-1);
    end
end
disp(A)

