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

New to MATLAB?

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

Products

2 Answers

Answer by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 4 Jan 2013
Edited by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

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

Azzi Abdelmalek (view profile)

Answer by Michael Adelman on 19 Jan 2013

Thank you

0 Comments

Contact us