Descrambler
Descramble input signal
- Library:
Communications Toolbox / Sequence Operations
Description
The Descrambler block descrambles a scalar or column vector input signal. The Descrambler block is the inverse of the Scrambler block. If you use the Scrambler block in a transmitter, then you use the Descrambler block in the related receiver.
This schematic shows the descrambler operation. The adders and subtracter operate modulo N, where N is the value specified by the Calculation base parameter.
At each time step, the input causes the contents of the registers to shift sequentially. Using the Scramble polynomial parameter, you specify the on or off state for each switch in the descrambler. To make the Descrambler block reverse the operation of the Scrambler block, use the same parameter settings in both blocks. If there is no signal delay between the scrambler and the descrambler, then the Initial states in the two blocks must be the same.
To achieve repeatable initial descrambler conditions, you can use one of these optional input ports:
Select the Reset on nonzero input via port parameter and reset the scrambler with Rst.
Set the Initial states source parameter to
Input port
and provide the initial states with ISt.
This block can accept input sequences that vary in length during simulation. For more information about sequences that vary in length, see Variable-Size Signal Basics (Simulink).
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|