Changing dimensions of a cell array
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chris Dan
el 2 de Feb. de 2020
Comentada: Chris Dan
el 3 de Feb. de 2020
Hey guys,
I have a cell array called "MD", attaching picture
![pic9.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269477/pic9.jpeg)
it is a 1x2 cell, I want to make it 2x1 cell array, because then I would be able to convert it into a struct using this code
fields = {'model_data'};
Body_Data =cell2struct(MD,fields,2);
Does anybody know how to change the dimensions of the cell array?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!