


% -*- texinfo -*-
% @deftypefn {Function File} {} ricedeco (@var{code}, @var{K})
%
% Returns the Rice decoded signal vector using @var{code} and @var{K}.
% Compulsory K is need to be specified.
% A restrictions is that a signal set must strictly be non-negative.
% The value of code is a cell array of row-vectors which have the
% encoded rice value for a single sample. The Rice algorithm is
% used to encode the 'code' and only that can be meaningfully
% decoded. @var{code} is assumed to have been of format generated
% by the function @code{riceenco}.
%
% Reference: Solomon Golomb, Run length Encodings, 1966 IEEE Trans Info' Theory
%
% An exmaple of the use of @code{ricedeco} is
% @example
% @group
% ricedec(riceenco(1:4,2),2)
%
% @end group
% @end example
% @end deftypefn
% @seealso{riceenco}