comm.DifferentialDecoder
Decode binary signal using differential decoding
Description
The DifferentialDecoder
object decodes the
binary input signal. The output is the logical difference between
the consecutive input element within a channel.
To decode a binary signal using differential decoding:
Define and set up your differential decoder object. See Construction.
Call
step
to decode a binary signal according to the properties ofcomm.DifferentialDecoder
. The behavior ofstep
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
Construction
H = comm.DifferentialDecoder
creates a
differential decoder System object, H
. This
object decodes a binary input signal that was previously encoded using
a differential encoder.
H = comm.DifferentialDecoder(
creates
object, Name
,Value
)H
, with each specified property set to
the specified value. You can specify additional name-value pair arguments
in any order as (Name1
,Value1
,...,NameN
,ValueN
).
Properties
|
Initial value used to generate initial output Specify the initial condition as a real scalar. This property
can have a logical, numeric, or fixed-point (embedded.fi object) data
type. The default is |
Methods
step | Decode binary signal using differential decoding |
Examples
Algorithms
This object implements the algorithm, inputs, and outputs described on the Differential Decoder block reference page. The object properties correspond to the block parameters, except:
The object only supports single channel, column vector inputs. |
Extended Capabilities
Version History
Introduced in R2012a