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

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,

1 个评论

Hi,
string1 = '10111011';
string2 = '10101010';
string3 = strcat(string1,string2);
try the code above, hope it help you.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Structures 的更多信息

提问:

2018-9-12

回答:

2018-9-12

Community Treasure Hunt

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

Start Hunting!

Translated by