The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: ricedeco (code, K)

Returns the Rice decoded signal vector using code and 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. code is assumed to have been of format generated by the function riceenco.

Reference: Solomon Golomb, Run length Encodings, 1966 IEEE Trans Info Theory

An example of the use of ricedeco is

ricedeco (riceenco (1:4, 2), 2)
    ⇒ [1 2 3 4]

See also: riceenco.

Package: communications