Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

How to generate a binary sequence in simulink?

Asked by Michael Adelman on 4 Jan 2013

prob '0' and '1' = 0.5 .

Thanks

0 Comments

Michael Adelman

Products

2 Answers

Answer by Azzi Abdelmalek on 4 Jan 2013
Edited by Azzi Abdelmalek on 4 Jan 2013
Accepted answer

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

0 Comments

Azzi Abdelmalek
Answer by Michael Adelman on 19 Jan 2013

Thank you

0 Comments

Michael Adelman

Contact us