I have a set of about 1000 numbers which if plotted may produce a sine wave pattern (a series of sine waves in continuity). How can I find out if these numbers represent sine wave pattern using java?

Thanks in advance.

Printable View

- 01-17-2012, 02:03 PMrngDo number series represent sine wave?
I have a set of about 1000 numbers which if plotted may produce a sine wave pattern (a series of sine waves in continuity). How can I find out if these numbers represent sine wave pattern using java?

Thanks in advance. - 01-17-2012, 03:33 PMKevinWorkmanRe: Do number series represent sine wave?
How would you do this by hand, without a computer?

- 01-17-2012, 04:08 PMrngRe: Do number series represent sine wave?
I can only think of plotting a graph and seeing it !

- 01-17-2012, 04:38 PMJosAHRe: Do number series represent sine wave?
Try an autocorrelation (google is your friend here) on the signal and the signal itself, shifted n samples. For the value of n where the correlation is at its maximum you have found the frequency of the sine, i.e. n*st where st is the sample time.

kind regards,

Jos - 01-17-2012, 04:45 PMrngRe: Do number series represent sine wave?
Thanks. I am checking google.

- 01-18-2012, 09:33 AMrngRe: Do number series represent sine wave?
It is surprising that one needs complex programs and algorithms to identify even simple shapes. Is there any simple method to differentiate between 2 sets of points which on plotting show simple shapes of V and U respectively.

- 01-18-2012, 09:38 AMJosAHRe: Do number series represent sine wave?
Try the NN aproach (Neural Network). A BAM (Bidirectional Associative Memory) or Kohonen network are quite suitable. Hopfield networks have too low storage capacity for image recognition. Beware though: this isn't trivial and maybe, after you've struggled your way through it, you'll appreciate simple eyes and the brain's processing power ;-)

kind regards,

Jos - 01-18-2012, 11:04 AMrngRe: Do number series represent sine wave?
Thanks for your suggestions. Can you recommend some website/software to quickly get started in using neural networks for simple problem like I stated above?

- 01-18-2012, 12:16 PMJosAHRe: Do number series represent sine wave?
Google for "character recognition Java".

kind regards,

Jos - 01-18-2012, 12:33 PMTollsRe: Do number series represent sine wave?
- 01-18-2012, 03:05 PMJosAHRe: Do number series represent sine wave?
- 01-18-2012, 03:36 PMTollsRe: Do number series represent sine wave?
Think of them like disposable contact lenses.

See?

Nature's waay ahead of us on these things. - 01-18-2012, 03:46 PMJosAHRe: Do number series represent sine wave?