function x = r8mat_uniform_ab ( m, n, a, b )

%*****************************************************************************80
%
%% r8mat_uniform_ab() returns a scaled pseudorandom R8MAT.
%
%  Discussion:
%
%    An R8MAT is an array of R8's.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    31 July 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, N, the number of rows and columns in the array.
%
%    real A, B, the range of the pseudorandom values.
%
%  Output:
%
%    real X(M,N), an array of random values between 0 and 1.
%
  x = rand ( m, n );
  x = a + ( b - a ) * x;

  return
end

