How to a='10101111' convert array b=[1,0,1,0,1,1,1,1]
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (2개)
Subhadeep Koley
2020년 12월 18일
편집: Subhadeep Koley
2020년 12월 18일
charArray = '10101111';
newCharArray = double((charArray == '1'));
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!