cell array
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have two cell array
entryname1 =
'b'
'a'
entryname2 =
'd'
'c'
when i concatenate
entryname={entryname1 entryname2}
entryname =
{2x1 cell} {2x1 cell}
But I need to get the output as 'b' 'd' 'a' 'c' how to get an output like this.
0 commentaires
Réponse acceptée
Thomas
le 23 Avr 2012
Try
entryname1 =['b';'a']
entryname2 =['d';'c']
entryname=[entryname1 entryname2]
0 commentaires
Plus de réponses (1)
Junaid
le 23 Avr 2012
try like this.
entryname=[entryname1 entryname2];
use [] instead of {}. I hope it will work.
0 commentaires
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!