Find periods or peaks between the periodic wave forms

I am having trouble find the distance between two peaks of a periodic wave. Is there any wave to find out the peaks so that i find the distance between two peak or the period. I have used several methods to find answer like findpeaks but i am unable to find accurate result. Is there any way possible to do this??

4 Comments

findpeaks is the way to go here, but you need to tinker with the options/parameters. a well tuned findpeaks is pretty robust in my opinion, but it takes some trial and error to set min/max distances between peaks, the prominence of the peak relative to nearby points, etc.
Got it. I will look into it. The data itself is quite voilatile and changes from time to time. Therefore i looking for a generic solution.
have you looked into xcorr (if you have signal processing toobox) or fft-based analysis?
No @ J.Alex Lee. I will start looking into it. Thank you for the help.

Sign in to comment.

Answers (0)

Products

Release

R2017b

Asked:

on 19 Aug 2020

Commented:

on 20 Aug 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!