% -*- texinfo -*- % @deftypefn{Function File} {[@var{xs}, @var{ys}] =} unresamp2 (@var{x}, @var{y}, @var{n}) % Perform a uniform resampling of a planar curve. % The arrays @var{x} and @var{y} specify x and y coordinates of the points of the curve. % On return, the same curve is approximated by @var{xs}, @var{ys} that have length @var{n} % and the distances between successive points are approximately equal. % @end deftypefn