On Sep 9, 9:54 pm, Gianni Mariani <gi3nos...@mariani.ws> wrote:
> Tristan Wibberley wrote:
>
> ...
>
> > Hint though: Logically, you have a hypothesis for what the signal looks
> > like (sinusoid) and you want to test that hypothesis for a variety of
> > wavelengths until you can spot the most likely match. There happens to
> > be a standard technique for doing this very rapidly on a computer and it
> > is called an fft.
>
> FFT might be a bit of overkill though. But it's a good idea to check
> the spectrum.
>
> I posted some FFT code a while back.http://groups.google.com/group/comp.lang.c++/msg/49bed9 ef02f1ec9f
Appreciation is expressed to those gave me the suggestion.. Give me
some times to digest and figure it out what would be the best
solution..and i will come back here again.
i think i should process my signal first by using certain algorithm
maybe autocorrelation, FFT, cepstral analysis and so on, then only can
i find my desired two successive peaks' period.
Thank you so much.
D'nise