comparison scripts/statistics/distributions/stdnormal_cdf.m @ 6046:34f96dd5441b

[project @ 2006-10-10 16:10:25 by jwe]
author jwe
date Tue, 10 Oct 2006 16:10:31 +0000
parents 2a16423e4aa0
children 93c65f2a5668
comparison
equal deleted inserted replaced
6045:421d8a903df7 6046:34f96dd5441b
27 ## Description: CDF of the standard normal distribution 27 ## Description: CDF of the standard normal distribution
28 28
29 function cdf = stdnormal_cdf (x) 29 function cdf = stdnormal_cdf (x)
30 30
31 if (nargin != 1) 31 if (nargin != 1)
32 usage ("stdnormal_cdf (x)"); 32 print_usage ();
33 endif 33 endif
34 34
35 sz = size (x); 35 sz = size (x);
36 if (numel(x) == 0) 36 if (numel(x) == 0)
37 error ("stdnormal_cdf: x must not be empty"); 37 error ("stdnormal_cdf: x must not be empty");