How to a='10101111' convert array b=[1,0,1,0,1,1,1,1]
이전 댓글 표시
답변 (2개)
Subhadeep Koley
2020년 12월 18일
편집: Subhadeep Koley
2020년 12월 18일
charArray = '10101111';
newCharArray = double((charArray == '1'));
카테고리
도움말 센터 및 File Exchange에서 Powertrain Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!