How to Unnest Nested cell arrays
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
xander fong
le 29 Juil 2015
Modifié(e) : Stephen23
le 29 Juil 2015
Hello, I have a 17x300 cell array, some of which contain text and numbers. However, the 17th column is filled with 1x1 cell arrays with a number inside. How do I unnest these unnested cells?
1 commentaire
Stephen23
le 29 Juil 2015
Modifié(e) : Stephen23
le 29 Juil 2015
In MATLAB, like in all mathematics, the first dimension is always the rows, and the second dimension is the columns. So your "17x300" means seventeen rows and three hundred columns... yet your question is about the "17th column", which implies that you meant the size to be 300*17 (three hundred rows and seventeen columns).
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!