Suppose I have the following variables A and B (both 3×1 cell arrays) as follows.
A = {'A'; 'AB'; 'ABC'}; B = {'1'; '12'; '123'};
How can I create the new variable C (also a 3×1 cell array) as shown below?
C =
'A1' 'AB12' 'ABC123'
I have looked into various functions like strjoin(), but nothing has been apparent.
Thanks!
Best Answer