Filter löschen
Filter löschen

How i can concatenate the binary values of each two cell arrays into one binary value cell array?

7 Ansichten (letzte 30 Tage)
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'}

Akzeptierte Antwort

Dyuman Joshi
Dyuman Joshi am 26 Nov. 2022
as = {'1011','0001','0100','0110','1111','0111'};
str=strcat(as(1:2:end),as(2:2:end))
str = 1×3 cell array
{'10110001'} {'01000110'} {'11110111'}

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by