View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

1.0 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 1.25 KB File ID: #30510 Version: 1.0



Rabi (view profile)


Used in digital signal processing

| Watch this File

File Information

In signal processing, cross-correlation is a measure of similarity of two waveforms as a function of a time-lag applied to one of them. This is also known as a sliding dot product or inner-product. It is commonly used to search a long duration signal for a shorter, known feature. It also has applications in pattern recognition, single particle analysis, electron tomographic averaging, cryptanalysis, and neurophysiology.

Required Products Communications System Toolbox
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
24 Feb 2011 Jan Simon

Jan Simon (view profile)

This is a script and not a function, therefore you cannot define input arguments. The values are obtained by INPUT, which has a very limited use and usability. There is no comment or help section in the code. It is not working, because the function "shift" is unknown.

23 Feb 2011 Lindsay Coutinho

@ Sean all constructive feedback helps community members learn how to improve their files. In regards to the quality, we leave it to the community to rate and comment on files. If you have any concerns, feel free to contact me at
Community Administrator

Comment only
23 Feb 2011 Mark Shore

On the bright side, it doesn't actually require the Communications Toolbox.

And who doesn't enjoy manually entering two signal vectors from the command line?

Comment only
23 Feb 2011 Sean de

Sean de (view profile)

script that clears all doesn't work because "shift" isn't defined and requires user input to run (well it doesn't run, but it needs input to get to the point where it errors out).

And correlation is misspelled! Come on!

Completely useless: admin please remove.

Contact us