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 个)
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!