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