%BETA  Beta function for gpuArrays
%   Y = BETA(Z,W) computes the beta function for corresponding elements
%   of Z and W. The arrays Z and W must be real and nonnegative. Both arrays
%   must be the same size, or either can be scalar.
%   
%   Example:
%    
%       N = 1000;
%       Z = rand(N, 'gpuArray');
%       W = rand(N, 'gpuArray');
%       beta(Z, W)
%   
%   See also BETA, GPUARRAY/BETALN, GPUARRAY.


%   Copyright 2006-2013 The MathWorks, Inc.
