Finding breakpoints for a given 2D Points and their associated time stamps
Afficher commentaires plus anciens
Hi,
I have the following data:
A set of 2D Points and their recorded time stamps.
(x1,y1) ; t1
(x2,y2);t2
(xn,y2); tn
I would like to find the break points for this trajectory.
BreakPoint: Point,where the direction is completely deviating.
I would be really glad if someone can propose some good appach for finding the points,marked as red in the images attached.
I tried the following methods:
1) Checking the slope of the line,(like,wherever the slope is changing, mark it as a breakpoint.But since,they are just rough lines (and not exact lines),user may not draw all the points exactly on the same line.
2) Here,I am also making use of the time stamps.Using distance approach i.e. plotting graph between time and distance(of consecutive points) and wherever the distance value is approximately zero, mark it as a breakpoint.But,since the value is not exactly zero,I am unable to find the correct threshold.
Please suggest some better algorithms to achieve this.
Thanks in advance.


2 commentaires
Stephan
le 14 Jan 2019
can you provide a sample of your data?
Math Enthusiast
le 14 Jan 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


