Convert Cell to Matrix
古いコメントを表示
Let' say, I have cell_A: 5x1 cell
cell_A={ [] ; [1] ; [5]; [] ; [2]};
How can I convert it to be matrix? 5-by-1 matrix
result_matrix=[ []; 1; 5 ; [] ; 2 ];
採用された回答
その他の回答 (1 件)
Walter Roberson
2019 年 6 月 26 日
0 投票
You cannot. Matrices cannot have "holes" in them.
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!