Return xy-position at arclength
refPath — Reference path
Reference path, specified as a
S — Path arclengths
N-element column vector
Path arclengths, specified as an N-element column vector in meters, where N is the total number of desired arclengths to calculate.
pos — xy-position
xy-position, returned as N-by-2 matrix, where N is the total number of specified arclengths. Each row is of the form [x y], containing the xy-positions for an arclength.
Introduced in R2022b