cell array
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Thomas
2012-4-23
Try
entryname1 =['b';'a']
entryname2 =['d';'c']
entryname=[entryname1 entryname2]
0 个评论
更多回答(1 个)
Junaid
2012-4-23
try like this.
entryname=[entryname1 entryname2];
use [] instead of {}. I hope it will work.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!