Concatenating string in a unique string

1 回表示 (過去 30 日間)
Bio_Ing_Sapienza
Bio_Ing_Sapienza 2019 年 3 月 19 日
回答済み: Walter Roberson 2019 年 3 月 19 日
Hi everyone.
A={'AAA','BBB','CCC','DDD'};
Given that cell array of string I want to obtain an unique string namely I want, call it D to be
D='AAABBBCCCDDD';
How can I do?

採用された回答

Walter Roberson
Walter Roberson 2019 年 3 月 19 日
horzcat(A{:})
or
strjoin(A, '')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by