How to generate a binary sequence in simulink?

55 visualizzazioni (ultimi 30 giorni)
prob '0' and '1' = 0.5 .
Thanks

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 4 Gen 2013
Modificato: Azzi Abdelmalek il 4 Gen 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

Più risposte (1)

Michael Adelman
Michael Adelman il 19 Gen 2013
Thank you

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by