Convert cell to matrix
Mostrar comentarios más antiguos
Hello, i have 1x3 cell
'00000000' '00000010' '00000011'
how do i convert it into matrix form to be like this?
0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0
0 0 0 0 0 0 1 1
Thank you
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 16 de Oct. de 2022
Editada: Walter Roberson
el 16 de Oct. de 2022
C = {'00000000', '00000010', '00000011'};
E = char(C) - '0'
1 comentario
Nimas
el 17 de Oct. de 2022
Categorías
Más información sobre Psychology en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!