Find periods or peaks between the periodic wave forms
Show older comments
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
jessupj
on 19 Aug 2020
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.
Rahul J Hirur
on 19 Aug 2020
J. Alex Lee
on 20 Aug 2020
have you looked into xcorr (if you have signal processing toobox) or fft-based analysis?
Rahul J Hirur
on 20 Aug 2020
Answers (0)
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!