how to generate a random binary sequence

how to generate a random binary sequence, convert it into M-ary symbols, generate M-PAM signals? Can anyone contribute?

回答 (1 件)

Image Analyst
Image Analyst 2015 年 3 月 27 日

1 投票

% Generate 20 binary values:
randomBinaryNumbers = randi([0, 1], 1,20)

1 件のコメント

Image Analyst
Image Analyst 2015 年 3 月 27 日
I have no idea what that is. It's not my field of practice.

サインインしてコメントする。

質問済み:

2015 年 3 月 27 日

コメント済み:

2015 年 3 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by