How to convert a 2-D char to string?

i have a 2/5 char array that i want to convert to string. How please?

 Accepted Answer

Matt J
Matt J on 1 Feb 2015
Edited: Matt J on 1 Feb 2015
Is this what you mean?
>> C=['abcde';'fghij']
C =
abcde
fghij
>> reshape(C.',[],1).'
ans =
abcdefghij

More Answers (0)

Categories

Asked:

on 1 Feb 2015

Edited:

on 1 Feb 2015

Community Treasure Hunt

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

Start Hunting!