![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/172117/image.jpeg)
How to generate a binary sequence in simulink?
16 次查看(过去 30 天)
显示 更早的评论
prob '0' and '1' = 0.5 .
Thanks
0 个评论
采纳的回答
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/172117/image.jpeg)
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!