Decode integer input into floating-point output
The dsp.UniformDecoder
System object™ decodes integer input into floating-point output. The decoder adheres to the
definition for uniform decoding specified in ITU-T Recommendation G.701.
To decode an integer input into a floating-point output:
Create the dsp.UniformDecoder
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
returns a uniform
decoder, ud
= dsp.UniformDecoderud
, that performs the inverse operation of the
dsp.UniformEncoder
object, reconstructing quantized floating-point
values from encoded integer input.
returns a uniform decoder, ud
= dsp.UniformDecoder(peakvalue
,numbits
)ud
, with the
PeakValue
property set to peakvalue
and the
NumBits
property set to numbits
.
returns a uniform decoder, ud
= dsp.UniformDecoder(___,Name,Value
)ud
, with the
PeakValue
property set to peakvalue
,
NumBits
property set to numbits
, and other
properties set to the specified values.
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
This object implements the algorithm, inputs, and outputs described on the Uniform Decoder block reference page. The object properties correspond to the block parameters.