# Thread: Do number series represent sine wave?

1. Member
Join Date
Jan 2012
Posts
25
Rep Power
0

## Do 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?

2. ## Re: Do number series represent sine wave?

How would you do this by hand, without a computer?

3. Member
Join Date
Jan 2012
Posts
25
Rep Power
0

## Re: Do number series represent sine wave?

I can only think of plotting a graph and seeing it !

4. ## Re: 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

5. Member
Join Date
Jan 2012
Posts
25
Rep Power
0

6. Member
Join Date
Jan 2012
Posts
25
Rep Power
0

## Re: 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.

7. ## Re: Do number series represent sine wave?

Originally Posted by rng
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.
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

8. Member
Join Date
Jan 2012
Posts
25
Rep Power
0

## Re: 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?

9. ## Re: Do number series represent sine wave?

kind regards,

Jos

10. Moderator
Join Date
Apr 2009
Posts
13,215
Rep Power
23

## Re: Do number series represent sine wave?

Originally Posted by rng
It is surprising that one needs complex programs and algorithms to identify even simple shapes.
Took evolution rather a long time to develop such pattern recognition...

11. ## Re: Do number series represent sine wave?

Originally Posted by Tolls
Took evolution rather a long time to develop such pattern recognition...
A spider can grow new lenses for their eyes overnight; I wonder why they lose them every day; stupid little animals ...

kind regards,

Jos

12. Moderator
Join Date
Apr 2009
Posts
13,215
Rep Power
23

## Re: Do number series represent sine wave?

Think of them like disposable contact lenses.
See?
Nature's waay ahead of us on these things.

13. ## Re: Do number series represent sine wave?

Originally Posted by Tolls
Think of them like disposable contact lenses.
See?
Nature's waay ahead of us on these things.
Obviously there are no feriocious spider eaters active during the night; lazy bums, those spider eaters ... nature is kind of stupid ...

kind regards,

Jos

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•