image thumbnail

Cross-correlation sequences x and y without using xcorr(x,y)

version 1.0.0 (25.9 KB) by Ashutosh Rout
Cross-correlation measures the similarity between x and shifted (lagged) copies of y as a function of the lag.

454 Downloads

Updated 15 Aug 2018

View License

Enter x
[1 1 2 3 4]
Enter the lower limit:
-1
Enter the upper limit:
3
Enter h:
[1 3 5 7 9 2 4 6 8]
Enter the lower limit:
-2
Enter the upper limit:
6
x(n) is:
1 1 2 3 4

z(n) is:
8 6 4 2 9 7 5 3 1

y(n) is:
8 14 26 42 69 56 52 57 71 50 31 15 4

Cite As

Ashutosh Rout (2021). Cross-correlation sequences x and y without using xcorr(x,y) (https://www.mathworks.com/matlabcentral/fileexchange/68497-cross-correlation-sequences-x-and-y-without-using-xcorr-x-y), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!