Reg. Scrambling in Simulink

2 visualizaciones (últimos 30 días)
SS
SS el 2 de Sept. de 2023
Respondida: Govind KM el 11 de Sept. de 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.

Respuestas (1)

Govind KM
Govind KM el 11 de Sept. de 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.

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by