Mercurial > hg > octave-lyh
comparison scripts/signal/hurst.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | 4c8a2e4e0717 |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
6045:421d8a903df7 | 6046:34f96dd5441b |
---|---|
28 ## Description: Estimate the Hurst parameter | 28 ## Description: Estimate the Hurst parameter |
29 | 29 |
30 function H = hurst (x) | 30 function H = hurst (x) |
31 | 31 |
32 if (nargin != 1) | 32 if (nargin != 1) |
33 usage ("hurst (x)"); | 33 print_usage (); |
34 endif | 34 endif |
35 | 35 |
36 if (isscalar (x)) | 36 if (isscalar (x)) |
37 error ("hurst: x must not be a scalar") | 37 error ("hurst: x must not be a scalar") |
38 elseif (isvector (x)) | 38 elseif (isvector (x)) |