Convert Cell to Matrix
Mostrar comentarios más antiguos
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 ];
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 26 de Jun. de 2019
0 votos
You cannot. Matrices cannot have "holes" in them.
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!