Mercurial > hg > octave-lyh
diff scripts/signal/arch_rnd.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | c776f063fefe |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/signal/arch_rnd.m +++ b/scripts/signal/arch_rnd.m @@ -48,14 +48,14 @@ endif if (! ((min (size (a)) == 1) && (min (size (b)) == 1))) - error ("arch_rnd: a and b must both be scalars or vectors"); + error ("arch_rnd: A and B must both be scalars or vectors"); endif if (! (isscalar (t) && (t > 0) && (rem (t, 1) == 0))) error ("arch_rnd: T must be a positive integer"); endif if (! (a(1) > 0)) - error ("arch_rnd: a(1) must be positive"); + error ("arch_rnd: A(1) must be positive"); endif ## perhaps add a test for the roots of a(z) here ...