How to generate a binary sequence in simulink?

24 次查看(过去 30 天)
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

类别

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