Convert cell to matrix
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Walter Roberson
il 16 Ott 2022
Modificato: Walter Roberson
il 16 Ott 2022
C = {'00000000', '00000010', '00000011'};
E = char(C) - '0'
1 Commento
Nimas
il 17 Ott 2022
Categorie
Scopri di più su Psychology in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!