% -*- texinfo -*- % @deftypefn{Function File} {[@var{xs}, @var{ys}] =} adresamp2 (@var{x}, @var{y}, @var{n}, @var{eps}) % Perform an adaptive 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 angles between successive segments are approximately equal. % @end deftypefn

- diff % If @var{x} is a vector of length @var{n}, @code{diff (@var{x})} is the
- interp1 %
- isscalar % Return 1 if @var{a} is a scalar. Otherwise, return 0.
- isvector % Return 1 if @var{a} is a vector. Otherwise, return 0.

Generated on Sat 16-May-2009 00:04:49 by