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?

 Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Preguntada:

el 1 de Nov. de 2018

Comentada:

el 1 de Nov. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by