find_vertices.m¶
Basic Information¶
SYNTAX: [x,y] = find_vertices(t,d,tol)
PURPOSE: Find the vertices in a piecewise linear data.
INPUT:
d,t = data and time of piecewise linear data.
tol = tolerance to determine when slope changes (optional,default=1e-3)
OUTPUT:
x,y = vertices where data "breaks"