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

16 ビュー (過去 30 日間)
Afham Azizi
Afham Azizi 2020 年 12 月 14 日
編集済み: Jemima Pulipati 2020 年 12 月 21 日
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 Center および File ExchangeBPSK についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by