Mercurial > hg > octave-lyh
diff scripts/signal/arch_rnd.m @ 4030:22bd65326ec1
[project @ 2002-08-09 18:58:13 by jwe]
author | jwe |
---|---|
date | Fri, 09 Aug 2002 19:00:16 +0000 |
parents | 38c61cbf086c |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/signal/arch_rnd.m +++ b/scripts/signal/arch_rnd.m @@ -48,7 +48,7 @@ if (! ((min (size (a)) == 1) && (min (size (b)) == 1))) error ("arch_rnd: a and b must both be scalars or vectors"); endif - if (! (is_scalar (T) && (T > 0) && (rem (T, 1) == 0))) + if (! (isscalar (T) && (T > 0) && (rem (T, 1) == 0))) error ("arch_rnd: T must be a positive integer"); endif