how to convert cell into matrix
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Stephen23
2016 年 2 月 12 日
>> a={[1 2 3],[2 3 4;1 2 3]}
a =
[1x3 double] [2x3 double]
>> vertcat(a{:})
ans =
1 2 3
2 3 4
1 2 3
0 件のコメント
その他の回答 (1 件)
Kiran
2016 年 2 月 12 日
Hi Song,
You can use 'cat' command to concatenate array according to your need.
m = cat(1,a{1},a{2})
Above command will concatenate the array 'a' along vertical direction as you need.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!