function l4mat = l4mat_uniform ( m, n )

%*****************************************************************************80
%
%% l4mat_uniform() returns a pseudorandom L4MAT.
%
%  Discussion:
%
%    An L4MAT is a two dimensional array of LOGICAL values.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 May 2008
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the order of the matrix.
%
%  Output:
%
%    logical L4MAT(M,N), a pseudorandom logical matrix.
%
  i4mat = randi ( [ 0, 1 ], m, n );
  l4mat = ( i4mat == 1 );

  return
end
