how to create a binary random matrix

hi, i want to create a binary random matrix of (4,2). matrix row could be: 0 0 or 0 1 or 1 0 or 1 1. how can i do that please. thanks

回答 (1 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2016 年 5 月 5 日

回答済み:

2016 年 5 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by