how can I stick together the data in a matrix?

2 次查看(过去 30 天)
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
A = 1:5
B = str2double(sprintf('%i',A))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by