Effacer les filtres
Effacer les filtres

how can I stick together the data in a matrix?

2 vues (au cours des 30 derniers jours)
jelly
jelly le 6 Oct 2012
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. :)

Réponse acceptée

Matt Fig
Matt Fig le 6 Oct 2012
Modifié(e) : Matt Fig le 6 Oct 2012
A = 1:5
B = str2double(sprintf('%i',A))

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by