Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Ulrik Nash
Ulrik Nash le 11 Mai 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by