Reg. Scrambling in Simulink

2 次查看(过去 30 天)
SS
SS 2023-9-2
回答: Govind KM 2024-9-11
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.

回答(1 个)

Govind KM
Govind KM 2024-9-11
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.

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by