How to generate a binary sequence in simulink?

조회 수: 55 (최근 30일)
Michael Adelman
Michael Adelman 2013년 1월 4일
댓글: Huy Pham Quoc 2020년 4월 22일
prob '0' and '1' = 0.5 .
Thanks

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 4일
편집: Azzi Abdelmalek 2013년 1월 4일
Use a random number block from simulink/sources and a compare to Constant block (with value set to <=0.5) from simulink/Logic and Bits operations.
Set mean of random number block to 0.5

추가 답변 (1개)

Michael Adelman
Michael Adelman 2013년 1월 19일
Thank you
  댓글 수: 1
Huy Pham Quoc
Huy Pham Quoc 2020년 4월 22일
Can I ask how this run and what is 0.5 stand for?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by