How to a='10101111' convert array b=[1,0,1,0,1,1,1,1]
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
a is char type
0 comentarios
Respuestas (2)
Subhadeep Koley
el 18 de Dic. de 2020
Editada: Subhadeep Koley
el 18 de Dic. de 2020
charArray = '10101111';
newCharArray = double((charArray == '1'));
0 comentarios
Ver también
Categorías
Más información sobre Data Type Conversion en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!