how to generate 10^6 random binary values consisting only -1 and 1?

1 回表示 (過去 30 日間)
Usman Ali
Usman Ali 2021 年 2 月 23 日
回答済み: Rik 2021 年 2 月 23 日
how to generate 10^6 random binary values consisting only -1 and 1?

採用された回答

Rik
Rik 2021 年 2 月 23 日
doc randi

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by