I am simulating DSSS Model and keep getting the same error, can someone help me fix it
1 view (last 30 days)
Jemima Pulipati on 17 Dec 2020
Edited: Jemima Pulipati on 21 Dec 2020
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.