Returns the Golomb decoded signal vector using code and m.
Compulsory m 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 Golomb value
for a single sample. The Golomb algorithm is
used to encode the "code" and only that can be meaningfully
decoded. code is assumed to have been of format generated
by the function golombenco
. Also the parameter m need to
be a non-zero number, unless which it makes divide-by-zero errors.
This function works backward the Golomb algorithm see
golombenco
for more details on that.
Reference: Solomon Golomb, Run length Encodings, 1966 IEEE Trans Info Theory
An example of the use of golombdeco
is
golombdeco (golombenco (1:4, 2), 2) ⇒ [1 2 3 4]
See also: golombenco.
Package: communications