Concatenate two cells into another
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a cell with 'Aluno' and other cell with '41563'and i need to have another one with 'A41563'. How can i concatenate the first two cells to get the last one?
0 Kommentare
Akzeptierte Antwort
Yona
am 30 Dez. 2014
It allow you to concatenate two cells.
Ce = {'Aluno', '41563'};
C3 = strcat(Ce{1}(1),Ce{2});
Weitere Antworten (1)
Ilham Hardy
am 30 Dez. 2014
Another way is,
Ce = {'Aluno', '41563'};
C3 = [Ce{1} Ce{2}];
Mind the curly brackets {} !
0 Kommentare
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!