TheAlgorithms/Java

[FEATURE REQUEST] <Implementation of auto-correlation algorithm>

AthinaSw opened this issue · 1 comments

What would you like to Propose?

I noticed that the is no implementation of the auto-correlation algorithm of a desqrete signal and I would like to implement that method!

Issue details

Description
The algorithm will be given a descrete signal and will calculate its auto-correlation. Auto-correlation measures the degree of similarity to itself.

Additional Information

Example
Given the descrete signal x[n]=[1,2,1,1] ,
the algorithm will calculate the auto-correlation of this signal and return the signal z[n]=[1,3,5,7,5,3,1].

Pull request: #4984