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!