Convert cell to matrix
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 16 Okt. 2022
Bearbeitet: Walter Roberson
am 16 Okt. 2022
C = {'00000000', '00000010', '00000011'};
E = char(C) - '0'
1 Kommentar
Nimas
am 17 Okt. 2022
Kategorien
Mehr zu Psychology finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!