How to generate a binary sequence in simulink?

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 4 Jan 2013
Edited: Azzi Abdelmalek on 4 Jan 2013
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

More Answers (1)

Products

Community Treasure Hunt

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

Start Hunting!