for i=1:5
    for j=1:5
        H(i,j)=1/(i+j-1);
    end
end
disp('The Hilbert matrix of size 5x5 is:'), H