How to convert char array to a complete word

ans =
5×1 char array
'H'
'E'
'L'
'L'
'O'
Hi,
how can I convert the aforementioned array into a word like Hello.

2 件のコメント

David Hill
David Hill 2020 年 3 月 29 日
a=ans';
Adam Danz
Adam Danz 2020 年 3 月 29 日
@David Hill, you may want to move that to the answers section.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Types についてさらに検索

質問済み:

AA
2020 年 3 月 29 日

コメント済み:

2020 年 3 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by