From d2f4d30ebcad7430e4f0495cae5c2b3a16be73ce Mon Sep 17 00:00:00 2001 From: rupak Date: Tue, 21 Jan 2020 19:05:09 +0530 Subject: added help files --- macros/finddelay.sci | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'macros/finddelay.sci') diff --git a/macros/finddelay.sci b/macros/finddelay.sci index eb8e96a..00d6755 100644 --- a/macros/finddelay.sci +++ b/macros/finddelay.sci @@ -1,16 +1,16 @@ function d = finddelay(x,y,varargin) // This function returns the estimated delay between two input signals using crosscorrelation. // If signals are periodic, delay with least absolute value is returned. - +// // Calling Sequence // D = FINDDELAY(X,Y) // D = FINDDELAY(...,MAXLAG) - +// // Description // D = FINDDELAY(X,Y), returns estimated Delay D between X // and Y. D is positive implies Y is delayed with respect to X and vice versa. // If X, Y are matrices, then D is a row vector corresponding to delay between columns of X and Y - +// // D = FINDDELAY(...,MAXLAG), uses MAXLAG as the maximum correlation // window size used to find the estimated delay(s) between X and Y: // @@ -29,7 +29,7 @@ function d = finddelay(x,y,varargin) // -MAXLAG(J):MAXLAG(J). // // By default, MAXLAG is equal to MAX(LX,LY)-1 for vectors, - +// // Examples // X = [ 0 0 1 2 3 ]; // Y = [ 0 0 0 1 2 3]; @@ -39,12 +39,9 @@ function d = finddelay(x,y,varargin) // Y = [ 0 0 1 0 ;1 0 0 2 ; 0 0 0 0 ]; // D = finddelay(X,Y) // disp(D) - -// See also -// alignsignals - +// // Authors -// Pola Lakshmi Priyanka, IIT Bombay// +// Pola Lakshmi Priyanka, IIT Bombay //*************************************************************************************************************************************// -- cgit