%% Assign Matrix Values
% Create a Hilbert matrix of order 10.

s = 10;
H = zeros(s);

for c = 1:s
    for r = 1:s
        H(r,c) = 1/(r+c-1);
    end
end

% Copyright 2015 The MathWorks, Inc.