Calculates speed and linear acceleration along a trajectory over time. Noisy trajectories should be smoothed before being passed to this function, as noise is effectively amplifed when calculating speed and acceleration.
TrajDerivatives(trj)
Trajectory whose speed and acceleration is to be calculated.
A list with components:
numeric vector, speed between each pair of trajectory points.
numeric vector, times
corresponding to values in speed
.
numeric vector.
numeric vector.
TrajSpeedIntervals
for analysing intervals within the
trajectory of low or high speed. TrajSmoothSG
for smoothing a
trajectory.