How to make a={'1','2','3','4'} to b={'1234'}
9 ビュー (過去 30 日間)
表示 古いコメント
a={'1','2','3','4'}
make to b={'1234'}
0 件のコメント
採用された回答
Wan Ji
2021 年 9 月 1 日
The simple way is
a={'1','2','3','4'};
b = {[a{:}]}
Answer
b =
1×1 cell array
{'1234'}
0 件のコメント
その他の回答 (2 件)
Walter Roberson
2021 年 9 月 1 日
編集済み: Walter Roberson
2021 年 9 月 1 日
a={'1','2','3','4'}
B = {strjoin(a, '')}
0 件のコメント
参考
カテゴリ
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!