Convert Cell to Matrix
Ältere Kommentare anzeigen
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 ];
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 26 Jun. 2019
0 Stimmen
You cannot. Matrices cannot have "holes" in them.
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!