How to find the period between group of regularly spaced hot-spots?
Show older comments
I have a group of numbers with values enriched at uniformly regularly spaced hot-spots.
There is no other information available.
How to get the estimated length of the space between these hot-spots?
For this example, the interval is about 128.


Accepted Answer
More Answers (1)
Walter Roberson
on 12 Jan 2025
Approximate_gap = mean(diff(find(abs(diff(YourSignal)) > TOLERANCE)));
Categories
Find more on Histograms 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!