Info

此问题已关闭。 请重新打开它进行编辑或回答。

How do I construct a vector from two different integers drawn with equal probability?

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

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by