I have a 1-dimensional array with some integers, which are periodically increasing. Something like this (1 period here):
{1, 2, 1, 1, 3, 6, 8, 5, 5, 3, 1, 2, 2, 1, 1, 2, 1, 3, 5, 7, 7, 6, 3, 2, 1}
There can be any number of periods, usually 2 in my arrays. I need to calculate it, and I want to believe, that Wolfram Mathematica already has function I need, but I can't find it.
P.S.: wanted tag feature-detection
, but it doesn't exist.
UPD: I found, that have to deal with much more big 'noise', that I thought before... There are fake peaks (but only on near 20% of arrays), which look almost like the peaks I'm interested in. But fortunately I almost always have 3 not-fake peaks in each array, and there are near 100-150 arrays total, that all have the same period +/-2%, which I need to find.
tutorial/FourierTransforms
in the documentation centrum of Mathematica for more information. – Heike Nov 09 '11 at 11:39