Reg. Scrambling in Simulink
2 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Govind KM
on 11 Sep 2024
@SS,
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.
0 Comments
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!