How to write a program for Pseudo Random Binary sequence in matlab?
27 ビュー (過去 30 日間)
古いコメントを表示
i need a program on PRBS
0 件のコメント
採用された回答
Walter Roberson
2016 年 7 月 12 日
PRBS = @(N) randi([0 1], 1, N);
This takes one parameter, which is the number of values to generate, and returns a PRBS of that length.
0 件のコメント
その他の回答 (1 件)
anu chauhan
2016 年 7 月 15 日
編集済み: Walter Roberson
2016 年 7 月 15 日
1 件のコメント
Walter Roberson
2016 年 7 月 15 日
When you are varying which values, you are not able to obtain what results?
I do not see any use of PRBS in this code, so it would appear to be a completely new Question rather than a follow-on question.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!