MATLAB MATLAB xcorr Function: Algorithm & Orfanidis Textbook

  • Thread starter Thread starter thrillhouse86
  • Start date Start date
  • Tags Tags
    Function Matlab
AI Thread Summary
The discussion centers around the algorithm used by MATLAB's 'xcorr' function to calculate the autocorrelation function. The original poster seeks clarification on this algorithm, referencing a textbook by Orfanidis for more information. Another participant highlights that the Mathworks support site provides detailed explanations beyond the basic help documentation, specifically for the Signal Processing Toolbox, which includes 'xcorr'. They suggest bookmarking the MATLAB support site for easy access to additional resources and confirm that the site contains information on how the auto/cross-correlation elements are calculated, although they are unsure if a specific name exists for the algorithm used.
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
 
Physics news on Phys.org
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:
Back
Top