Deinterleave input symbols using set of shift registers with specified delays


The MultiplexedDeinterleaver object restores the original ordering of a sequence that was interleaved using the General Multiplexed Interleaver object.

To deinterleave the input symbols:

  1. Define and set up your multiplexed deinterleaver object. See Construction.

  2. Call step to restore the original ordering of the input sequence according to the properties of comm.MultiplexedDeinterleaver. The behavior of step is specific to each object in the toolbox.


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.


H = comm.MultiplexedDeinterleaver creates a multiplexed deinterleaver System object, H. This object restores the original ordering of a sequence that was interleaved using the multiplexed interleaver System object.

H = comm.MultiplexedDeinterleaver(Name,Value) creates a multiplexed deinterleaver object, 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).



Interleaver delay

Specify the lengths of the shift registers as an integer column vector. The default is [2;0;1;3;10].


Initial conditions of shift registers

Specify the initial values in each shift register as a numeric scalar value or a column vector. The default is 0. When you set this property to a column vector, the vector length must equal the value of the Delay property. This vector contains initial conditions, where the i-th initial condition is stored in the ith shift register.


resetReset states of the multiplexed deinterleaver object
stepDeinterleave input symbols using a set of shift registers with specified delays
Common to All System Objects

Allow System object property value changes


expand all

Create interleaver and deinterleaver objects.

interleaver = comm.MultiplexedInterleaver('Delay',[1; 0; 2; 1]);
deinterleaver = comm.MultiplexedDeinterleaver('Delay',[1; 0; 2; 1]);

Generate a random data sequence. Pass the data sequence through the interleaver and deinterleaver.

[dataIn,dataOut] = deal([]);            % Initialize data arrays

for k = 1:50
    data = randi([0 7],20,1);           % Generate data sequence
    intData = interleaver(data);        % Interleave sequence
    deIntData = deinterleaver(intData); % Deinterleave sequence
    dataIn = cat(1,dataIn,data);        % Save original data
    dataOut = cat(1,dataOut,deIntData); % Save deinterleaved data

Determine the delay through the interleaver and deinterleaver.

intlvrDelay = finddelay(dataIn,dataOut)
intlvrDelay = 8

After accounting for the delay, confirm that the original and deinterleaved sequences are identical.

ans = logical

Copyright 2012 The MathWorks, Inc.


This object implements the algorithm, inputs, and outputs described on the General Multiplexed Deinterleaver block reference page. The object properties correspond to the block parameters.

Extended Capabilities

Introduced in R2012a