Convert cell to matrix
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
Walter Roberson
2022년 10월 16일
편집: Walter Roberson
2022년 10월 16일
C = {'00000000', '00000010', '00000011'};
E = char(C) - '0'
카테고리
도움말 센터 및 File Exchange에서 Psychology에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!