필터 지우기
필터 지우기

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 CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by