put together data of type char

2 次查看(过去 30 天)
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!

采纳的回答

David Young
David Young 2011-9-1
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.

更多回答(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