function h = hamming84_h ( )

%*****************************************************************************80
%
%% hamming84_h() returns the Hamming (8,4) parity check matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 July 2018
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real H(4,8), the Hamming (8,4) H matrix.
%
  h = [ ...
    0, 1, 1, 1, 1, 0, 0, 0; ...
    1, 0, 1, 1, 0, 1, 0, 0; ...
    1, 1, 0, 1, 0, 0, 1, 0; ...
    1, 1, 1, 0, 0, 0, 0, 1 ];

  return
end

