I am simulating DSSS Model and keep getting the same error, can someone help me fix it

4 次查看(过去 30 天)
help

回答(1 个)

Jemima Pulipati
Jemima Pulipati 2020-12-17
编辑:Jemima Pulipati 2020-12-21
Hello,
The error you are facing is due to unexpected input for BPSK Modulator Baseband block. This block expects the input to be an integer from 0 to M-1.
The cause of the invalid input value is the M value that has been set for Random Integer Source block, i.e it has been set to 8, while all the other blocks of the model use M = 2 for BPSK.
This issue can be resolved by changing the set size (M value) in the Block parameters of Random Integer Source block to 2.

类别

Help CenterFile Exchange 中查找有关 PHY Components 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by