Mercurial > octave-nkf
diff scripts/statistics/distributions/unifrnd.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | 3306cfcb856e |
children | be55736a0783 |
line wrap: on
line diff
--- a/scripts/statistics/distributions/unifrnd.m Fri Apr 23 11:13:48 2010 -0700 +++ b/scripts/statistics/distributions/unifrnd.m Fri Apr 23 11:28:50 2010 -0700 @@ -36,7 +36,7 @@ if (!isscalar(a) || !isscalar(b)) [retval, a, b] = common_size (a, b); if (retval > 0) - error ("unifrnd: a and b must be of common size or scalar"); + error ("unifrnd: a and b must be of common size or scalar"); endif endif endif @@ -51,7 +51,7 @@ sz = [r, c]; if (any (size (a) != 1) - && (length (size (a)) != length (sz) || any (size (a) != sz))) + && (length (size (a)) != length (sz) || any (size (a) != sz))) error ("unifrnd: a and b must be scalar or of size [r, c]"); endif elseif (nargin == 3) @@ -64,7 +64,7 @@ endif if (any (size (a) != 1) - && (length (size (a)) != length (sz) || any (size (a) != sz))) + && (length (size (a)) != length (sz) || any (size (a) != sz))) error ("unifrnd: a and b must be scalar or of size sz"); endif elseif (nargin == 2)