Home > tsa > acovf.m

acovf

PURPOSE ^

ACOVF estimates autocovariance function (not normalized)

SYNOPSIS ^

function [ACF,NN] = acovf(Z,KMAX,Mode,Mode2);

DESCRIPTION ^

 ACOVF estimates autocovariance function (not normalized)
 NaN's are interpreted as missing values. 

 [ACF,NN] = acovf(Z,MAXLAG,Mode);

 Input:
  Z    Signal (one channel per row);
  MAXLAG  maximum lag
  Mode    'biased'  : normalizes with N
    'unbiased': normalizes with N-lag
    'coeff'      : normalizes such that lag 0 is 1    
        others      : no normalization

 Output:
  ACF autocovariance function
  NN  number of valid elements 


 REFERENCES:
  A.V. Oppenheim and R.W. Schafer, Digital Signal Processing, Prentice-Hall, 1975.
  S. Haykin "Adaptive Filter Theory" 3ed. Prentice Hall, 1996.
  M.B. Priestley "Spectral Analysis and Time Series" Academic Press, 1981. 
  W.S. Wei "Time Series Analysis" Addison Wesley, 1990.
  J.S. Bendat and A.G.Persol "Random Data: Analysis and Measurement procedures", Wiley, 1986.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003