Skip to content

getXcorr

  getXcorr method for jpeth class returns the cross-correlation

  Example:
  x=xcorr(obj);
  [x tb]=xcorr(obj);

  returns the cross-correlation formed by averaging along
  the anti-diagonals of the jpeth matrix calculated according to the
  current mode. If requested, the timebase for the correlation will also
  be returned. 

  -------------------------------------------------------------------------
  Note that no filter is applied to the matrix before calculating the
  cross-corelation
  -------------------------------------------------------------------------

  See also setMode


  See also jpeth

  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 02/09
  Copyright © The Author & King's College London 2009-
  -------------------------------------------------------------------------