how can I stick together the data in a matrix?

조회 수: 2 (최근 30일)
jelly
jelly 2012년 10월 6일
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 Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by