How to a='10101111' convert array b=[1,0,1,0,1,1,1,1]
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
a is char type
0 commentaires
Réponses (2)
Subhadeep Koley
le 18 Déc 2020
Modifié(e) : Subhadeep Koley
le 18 Déc 2020
charArray = '10101111';
newCharArray = double((charArray == '1'));
0 commentaires
Voir également
Catégories
En savoir plus sur Data Types dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!