Mercurial > octave-antonio
diff scripts/signal/arma_rnd.m @ 3457:e031284eea27
[project @ 2000-01-19 08:49:56 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 08:50:14 +0000 |
parents | 858695b3ed62 |
children | 38c61cbf086c |
line wrap: on
line diff
--- a/scripts/signal/arma_rnd.m Wed Jan 19 06:59:23 2000 +0000 +++ b/scripts/signal/arma_rnd.m Wed Jan 19 08:50:14 2000 +0000 @@ -34,8 +34,8 @@ ## is returned. If @var{n} is omitted, @var{n} = 100 is used. ## @end deftypefn -## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> -## Description: Simulate an ARMA process +## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> +## Description: Simulate an ARMA process function x = arma_rnd (a, b, v, t, n) @@ -53,12 +53,12 @@ usage ("arma_rnd (a, b, v, t, n)"); endif - if ( (min (size (a)) > 1) || (min (size (b)) > 1) ) - error ("arma_rnd: a and b must not be matrices"); + if ((min (size (a)) > 1) || (min (size (b)) > 1)) + error ("arma_rnd: a and b must not be matrices"); endif if (!is_scalar (t)) - error ("arma_rnd: t must be a scalar"); + error ("arma_rnd: t must be a scalar"); endif ar = length (a);