Filter löschen
Filter löschen

all posible combinations of 0 and 1

4 Ansichten (letzte 30 Tage)
Andres Serrano
Andres Serrano am 1 Nov. 2018
Kommentiert: Andres Serrano am 1 Nov. 2018
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 Kommentar
Andres Serrano
Andres Serrano am 1 Nov. 2018
I mean 0001---0010---0100.... thanks again!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Nov. 2018
dec2bin(0:15,4)-'0'

Weitere Antworten (0)

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by