Auto-correlation of a sequence x without using xcorr(x)

It is the correlation of a signal with a delayed copy of itself as a function of delay.
243 Downloads
Updated 15 Aug 2018

View License

Enter x
[1 1 2 3 4]
Enter the lower limit:
-1
Enter the upper limit:
3
x(n) is:
1 1 2 3 4

z(n) is:
4 3 2 1 1

y(n) is:
4 7 13 21 31 21 13 7 4

Cite As

Ashutosh Rout (2024). Auto-correlation of a sequence x without using xcorr(x) (https://www.mathworks.com/matlabcentral/fileexchange/68498-auto-correlation-of-a-sequence-x-without-using-xcorr-x), 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!
Version Published Release Notes
1.0.0