How i can concatenate the binary values of each two cell arrays into one binary value cell array?
1 次查看(过去 30 天)
显示 更早的评论
Hello matlab community, I want to concatenate the binary values of each two cell arrays into one binary value cell array, for ex.
as = {'1011','0001','0100','0110','1111','0111'}
asc= {'10110001','01000110','11110111'}
0 个评论
采纳的回答
Dyuman Joshi
2022-11-26
as = {'1011','0001','0100','0110','1111','0111'};
str=strcat(as(1:2:end),as(2:2:end))
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!