Hello. How algorithm I can use for detect the start point of the fast increasing of my data and the end of this procces?
3 views (last 30 days)
Show older comments
My data corrupted by some noise, I use the diff function for indicate the start point(labelled by red point on the figure), but find it only with large delay and don't know how to indicate correctly the end of increase (labelled by vertical line on the figure).

0 Comments
Answers (1)
Walter Roberson
on 9 Dec 2015
dd = diff(data);
mask = abs(dd) > SomeThreshold;
find(mask, 1, 'first')
find(mask, 1, 'last')
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!