Reg. Scrambling in Simulink
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Govind KM
2024 年 9 月 11 日
@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 件のコメント
参考
カテゴリ
Help Center および File Exchange で General Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!