% -*- texinfo -*- % @deftypefn {Function File} {} runlength (@var{x}) % Find the lengths of all sequences of common values. Return the % vector of lengths and the value that was repeated. % % @example % @group % runlength ([2, 2, 0, 4, 4, 4, 0, 1, 1, 1, 1]) % @result{} [2, 1, 3, 1, 4] % @end group % @end example % @end deftypefn

- diff % If @var{x} is a vector of length @var{n}, @code{diff (@var{x})} is the

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