how can I stick together the data in a matrix?

ex input A=[1 2 3 4 5]
A=
1 2 3 4 5
how can i stick the data from A together? so it would be like this:
A=12345
how can i do this? help me please. :)

 採用された回答

Matt Fig
Matt Fig 2012 年 10 月 6 日
編集済み: Matt Fig 2012 年 10 月 6 日

0 投票

A = 1:5
B = str2double(sprintf('%i',A))

1 件のコメント

jelly
jelly 2012 年 10 月 6 日
thankyou bro brofist

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Characters and Strings についてさらに検索

質問済み:

2012 年 10 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by