function [mu] = MeanUniform(N)
%MeanUniform

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%   This function outputs the emperical mean of a uniform random variable
%   on [0,1] using N samples. 
%
%   Inputs:
%   N= number of realizations of the random variable to generate
%
%   Ouputs:
%   mu= emperical mean
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

X=rand(1,N);

mu=sum(X)/N;

end

