mergeDisplacementProfiles

Merges two displacement profiles by taking the minimum velocity at every point. This is used to combine forward and backward profiles to create a time-optimal profile.

Return

Merged profile with minimum velocities from both input profiles

Parameters

p1

First displacement profile

p2

Second displacement profile