Make a text matrix to one cell string

How to make a 5 column text matrix to one cell string.
>>A 'A1' 'A2' 'A3' 'A4'
i want to have
A = 'A1 A2 A3'
Thank you

1 个评论

I don't understand what you mean by "5 column text matrix". Can you write functioning MATLAB code that defines what your input array looks like?

请先登录,再进行评论。

 采纳的回答

Alexandros
Alexandros 2011-11-17
I make two separate strings of B2a = 'am' and B2b = 'old'
and then with strcat i can
B = strcat(B2a,{' '},B2b)
B = "am old'

更多回答(0 个)

类别

帮助中心File 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