Subscribe Bookmark RSS Feed

How do I identify individual cycles in cyclical data based only on Y values?

scottdprm

Community Trekker

Joined:

Jul 1, 2016

Supposed I was looking at a sinusoidal wave function and I wanted to identify each of the individual peaks and number them in a large data set.  The only values that I have a my disposal are Time and Intensity values.  Are there any functions in jsl which I can use to help me?  Or are there any existing scripts available that I can use?

1 REPLY
ron_horne

Super User

Joined:

Jun 23, 2011

hi scottdprm

perhaps you can start here: Getting first order derivatives

perhaps this together with a condition and an index counting will allow for counting the peaks across the rows.

ron