next up previous contents
Next: Programm optfilt.exe Up: Programme zur Signalverarbeitung Previous: Programm acorr.exe

Programm xcorr.exe

Berechnung der Autokorrelationen zweier Zeitsignale mit gleichzeitiger Berechnung der Kreuzkorrelation. Die Berechnung erfolgt mit einem optimierten Algorithmus im Frequenzbereich, soda die Laufzeit nur logarithmisch mit der gewnschten Koeffizientenzahl ansteigt! Die angegebene Koeffizientenzahl wird automatisch auf die nchste Zweierpotenz aufgerundet.

Ausgabe des Online-Helps bei Aufruf ohne Parameter:

 
calculation of correlations, (c) Exler Roland, May  3 1998

USAGE: xcorr X_FILE Y_FILE -cX <OPTIONS> <<XX_NAME YY_NAME> XY_NAME>
calculate XX(i) = 1/(N-i) sum(x(t-i)x(t))
          YY(i) = 1/(N-i) sum(y(t-i)y(t))
          XY(i) = 1/(N-i) sum(x(t-i)y(t))
  X_FILE  ... input-File for x (default: .wav)
  Y_FILE  ... input-File for y (default: .wav)
  XX_NAME ... filename for autocorrelation of x (default: X_FILE.acf)
  YY_NAME ... filename for autocorrelation of y (default: Y_FILE.acf)
  XY_NAME ... filename for crosscorrelation (default: Y_FILE.xcf)
  -cX     ... calculate coefficients i=[-X...+X]
OPTIONS:
  -bin ... binary (ignore peak set in files)
  -q   ... quiet processing (output only errors)
specify range used for calculation:
  -sX ... start with sample X (if X<0 it's counted from eof)
  -lX ... use next X samples (if -l given, -e is ignored)
  -eX ... end with sample X (if X<0 it's counted from eof)
if start, length or end is specified uppercase (-S, -L or -E),
  given value is used as time in seconds instead of samples



root
1998-07-09