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!