Convert Cell to Matrix
Afficher commentaires plus anciens
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 ];
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 26 Juin 2019
0 votes
You cannot. Matrices cannot have "holes" in them.
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!