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 で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!