フィルターのクリア

all posible combinations of 0 and 1

4 ビュー (過去 30 日間)
Andres Serrano
Andres Serrano 2018 年 11 月 1 日
コメント済み: Andres Serrano 2018 年 11 月 1 日
HI guys, I just need help getting the 16 different combinations 0 and 1 can take. Ex. 0 0 0 1 0 0 1 0 0 1 0 0 . . . anyone please can help me?
  1 件のコメント
Andres Serrano
Andres Serrano 2018 年 11 月 1 日
I mean 0001---0010---0100.... thanks again!

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2018 年 11 月 1 日
dec2bin(0:15,4)-'0'
  1 件のコメント
Andres Serrano
Andres Serrano 2018 年 11 月 1 日
Thanks Walter, you are a live saver!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Math についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by