Descrambler
Descramble input signal
Libraries:
Communications Toolbox /
Sequence Operations
Description
The Descrambler block applies multiplicative descrambling to input data. It performs the inverse operation of the Scrambler block used in the transmitter.
This schematic shows the multiplicative 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 withRst
.Set the
Initial states source
parameter toInput port
and provide the initial states withISt
.
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).
Note
To apply additive descrambling to input data, you can use the PN Sequence Generator block and the Logical Operator (Simulink) block configured as an XOR logical operator. For an example, see Additive Scrambling of Input Data in Simulink.
Examples
Extended Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Extended Capabilities
Version History
Introduced before R2006a