How to concatenate the rows of char array containing 8-binary string ?

7 次查看(过去 30 天)
Hello,
I got char array that have 8-binary string, for example:
10111011
10101010
and I want to concatenate them in this way : 1011101110101010
so any suggestions ?
Regards,

回答(2 个)

Andrei Bobrov
Andrei Bobrov 2018-9-12
a = string('10111011');
b = string('10101010');
a + b

Sarah A
Sarah A 2018-9-12
No, actually I just got the answer here answered by Walter Roberson

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by