Reg. Scrambling in Simulink

3 visualizzazioni (ultimi 30 giorni)
SS
SS il 2 Set 2023
Risposto: Govind KM il 11 Set 2024
Hello,
Im working on scrambling for one of the communication application. Im trying this with the "Scrambler" block in Simulink.
The idea is to use the polynomial "x^15+x+1" with an initial value, let us say 0xAB (hex value).
However, Im unable to get the expected result. I have studied the Help section of the block.
I guess Im missing something here, being a beginner with Simulink coding.
Suggestions please to understand this and get it working.

Risposte (1)

Govind KM
Govind KM il 11 Set 2024
The “Initial states” parameter for the “Scrambler” block needs to be a non-negative integer vector of length equal to the order of the “Scramble polynomial” parameter. As the polynomial to be used is “x^15+x+1”, which is of order “15”, the “Initial states” parameter needs to be of length “15” as well, with its element values ranging from 0 to “Calculation base" – 1. A screenshot with example values is attached below:
You can refer to the documentation of the “Scrambler” block for more details:
https://www.mathworks.com/help/comm/ref/scrambler.html#fp37636-Initial_states
Hope this resolves the issue.

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by