Effacer les filtres
Effacer les filtres

put together data of type char

2 vues (au cours des 30 derniers jours)
Nuno Fernandes
Nuno Fernandes le 1 Sep 2011
Hello everyone
i have this h =C3aaa;A2aaa;C4aaa (one element for each line) [3x5 char] and j=bbbbb;cccccc (one element for each line) [2X5 char]
how can i join this to have at final
total=C3aaa;A2aaa;C4aaa;bbbbb;cccccc(one element for each line) [5X5 char]
thanks for help!

Réponse acceptée

David Young
David Young le 1 Sep 2011
You can use square brackets to concatenate any matrices. For example
[A B]
puts B to the right of A, whilst
[A; B]
puts B below A.
  1 commentaire
Nuno Fernandes
Nuno Fernandes le 1 Sep 2011
thanks! :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by