comparison scripts/deprecated/autocor.m @ 11587:c792872f8942

all script files: untabify and strip trailing whitespace
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:35:29 -0500
parents fd0a3ac60b0e
children 72c96de7a403
comparison
equal deleted inserted replaced
11586:12df7854fa7c 11587:c792872f8942
20 ## @deftypefn {Function File} {} autocor (@var{x}, @var{h}) 20 ## @deftypefn {Function File} {} autocor (@var{x}, @var{h})
21 ## Return the autocorrelations from lag 0 to @var{h} of vector @var{x}. 21 ## Return the autocorrelations from lag 0 to @var{h} of vector @var{x}.
22 ## If @var{h} is omitted, all autocorrelations are computed. 22 ## If @var{h} is omitted, all autocorrelations are computed.
23 ## If @var{x} is a matrix, the autocorrelations of each column are 23 ## If @var{x} is a matrix, the autocorrelations of each column are
24 ## computed. 24 ## computed.
25 ## The particular algorithm used is from the field of statistics and 25 ## The particular algorithm used is from the field of statistics and
26 ## differs from the definition used in signal processing. 26 ## differs from the definition used in signal processing.
27 ## @end deftypefn 27 ## @end deftypefn
28 28
29 ## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> 29 ## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at>
30 ## Description: Compute autocorrelations 30 ## Description: Compute autocorrelations