How to generate a binary sequence in simulink?

27 vues (au cours des 30 derniers jours)
Michael Adelman
Michael Adelman le 4 Jan 2013
Commenté : Huy Pham Quoc le 22 Avr 2020
prob '0' and '1' = 0.5 .
Thanks

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 4 Jan 2013
Modifié(e) : Azzi Abdelmalek le 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

Plus de réponses (1)

Michael Adelman
Michael Adelman le 19 Jan 2013
Thank you
  1 commentaire
Huy Pham Quoc
Huy Pham Quoc le 22 Avr 2020
Can I ask how this run and what is 0.5 stand for?

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by