Info
This question is closed. Reopen it to edit or answer.
How do I construct a vector from two different integers drawn with equal probability?
1 view (last 30 days)
Show older comments
What is the most efficient way to construct a vector of length N from two different integers drawn with equal probability? For example, a vector of randomly drawn -1s and 1s.
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!