Mercurial > hg > octave-lyh
diff scripts/signal/hurst.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/hurst.m +++ b/scripts/signal/hurst.m @@ -21,8 +21,8 @@ ## every single column. ## @end deftypefn -## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> -## Description: Estimate the Hurst parameter +## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> +## Description: Estimate the Hurst parameter function H = hurst (x) @@ -31,8 +31,8 @@ endif if (is_scalar (x)) - error ("hurst: x must not be a scalar") - elseif is_vector (x) + error ("hurst: x must not be a scalar") + elseif (is_vector (x)) x = reshape (x, length (x), 1); end