function cdf = stdn_cdf(x) %--------------------------------------------------------------- % Mfile STDN_CDF.M % % CDF for standard normal distribution % % x is a vetor % Calls error function erf.m %--------------------------------------------------------------- cdf = .5*(1+erf(x./sqrt(2))); return; % end of stdn_cdf.m