| Communications Blockset™ | ![]() |
Source Coding
The Differential Encoder block encodes the binary input signal. The output is the logical difference between the present input and the previous output. More specifically, the input and output are related by
d(t0) = m(t0) XOR Initial condition parameter value
d(tk) = d(tk-1) XOR m(tk)
where
m is the input message
d is the differentially encoded output.
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.
![]() | Differential Decoder | Discrete-Time Eye Diagram Scope | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |