| Communications Blockset™ | ![]() |
Source Coding
The Differential Decoder block decodes the binary input signal. The output is the logical difference between the present input and the previous input. More specifically, the block's input and output are related by
m(t0) = d(t0) XOR Initial condition parameter value
m(tk) = d(tk) XOR d(tk-1)
where
d is the differentially encoded input.
m is the output message.
tk is the kth time step.
XOR is the logical exclusive-or operator.
The input can be either a scalar, a vector, or a frame-based matrix. This block processes each vector element independently.

The logical exclusive-or of this value with the initial input value forms the initial output value.
[1] Couch, Leon W., II, Digital and Analog Communication Systems, Sixth edition, Upper Saddle River, N. J., Prentice Hall, 2001.
![]() | Descrambler | Differential Encoder | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |