What algorithm does MATLAB's xcorr function use?

  • Topic: MATLAB 
  • Thread starter thrillhouse86
  • Start date
  • Tags Tags
    Function Matlab
1 reply · 13K views · last reply
thrillhouse86
Messages
77
Reaction score
0
Hey All,

does anyone know what algorithm MATLAB uses to determine the autocorrelation function when you use the 'xcorr' function. the MATLAB help page refers to a textbook:

"Orfanidis, S.J., Optimum Signal Processing. An Introduction. 2nd Edition, Prentice-Hall, Englewood Cliffs, NJ, 1996."

But I can't find a copy of this either online or at my library.

Cheers,
Thrillhouse
 
Frequently, the Mathworks support site offers more information than the basic usage information provided when you use the HELP <command> command. It looks like xcorr is a Signal-Processing Toolbox function, but that too is handled at the Mathworks Support Site (TIP: bookmark the MATLAB root support site--it helped me a lot when I was a MATLAB developer for a summer):
http://www.mathworks.com/access/helpdesk/help/toolbox/signal/xcorr.shtml

In this case, it tells you how the elements of the auto/cross-correlated are calculated (though I'm not sure if there's a name for this 'algorithm').

Hope this helps!
 
Last edited by a moderator: