undefined function or variable bits---UMFC vs ODFM
古いコメントを表示
hi Peng Li,
please see the code in the link , , , http://www.mathworks.com/help/comm/examples/ufmc-vs-ofdm-modulation.html
ERROR IN UMFC ?((LINE 37)
InpData(:symIdx) = randi({0 1}, 10*bits, 1);
Code not running!!!
please assist
2 件のコメント
Walter Roberson
2020 年 5 月 4 日
that code line does not exist in the link you posted.
Walter Roberson
2020 年 5 月 7 日
The first parameter to randi should be a numeric scalar, or else a numeric vector with two elements. So randi({0 1}, 10*bits, 1) is wrong because you are passing in a cell instead of a numeric vector, but randi([0 1], 10*bits, 1) might work to assign to inpData(:,symIdx)
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Test and Measurement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!