insert binary number and store it in array
조회 수: 10 (최근 30일)
이전 댓글 표시
Hi i would to ask the user to insert binary number as that (001010111) then store this number in array each bit in individual cell , How???
댓글 수: 0
채택된 답변
Walter Roberson
2012년 3월 31일
Use the 's' option of input()
댓글 수: 1
Jan
2012년 3월 31일
Then instead of "each bit in an individual cell" you get each character in an individual element of the char vector. But this is most likely what you need. +1
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!