% -*- texinfo -*- % @deftypefn {Function File} {} unarydec (@var{value}) % % This function decodes the unary encoded value. % Useful if you are trying to perform golomb-rice coding % value needs to be a number or row-vector. For example % % @example % @group % message = [5 4 4 1 1 1] % coded = unaryenc(message) % @result{} [62 30 30 2 2 2] % unarydec(coded) % @result{} [5 4 4 1 1 1] % @end group % @end example % @end deftypefn % @seealso{unaryenc}