Cell Array with different sizes

Hi guys,
I have certain cell arrays with with the size of 1x73 cells.
Each cell have a minimum size of 12000x1 double. Goes up to over 30000.
Ich would like to read them seperately now in variables. Is there an option to do it, without doing it cell by cell?
Best regards
J

 Respuesta aceptada

madhan ravi
madhan ravi el 24 de Jun. de 2019
Editada: madhan ravi el 24 de Jun. de 2019

0 votos

"Ich would like to read them seperately now in variables."

4 comentarios

madhan ravi
madhan ravi el 24 de Jun. de 2019
Jonas Haupt's answer moved here:
Okay fair enough. I understand.
Other question: I want to use the data set for the neural network as a matrix. Now its a 1x73 cell array. I want it as a Xx73 matrix. That i can use the clustering app on it.
madhan ravi
madhan ravi el 24 de Jun. de 2019
For that you would have to make each cell have the same number of elements. One solution would be to pad zeros or nans at the end.
madhan ravi
madhan ravi el 24 de Jun. de 2019
Jonas Haupt's answer moved here:
For that i use cellfun and padarray right?
madhan ravi
madhan ravi el 24 de Jun. de 2019
Yes, one of the possible ways.

Iniciar sesión para comentar.

Más respuestas (1)

Jonas Haupt
Jonas Haupt el 24 de Jun. de 2019

0 votos

Okay I tried several things but it didnt work.
How can I do it, without making it cell by cell?
Thank you very much!

Categorías

Preguntada:

el 24 de Jun. de 2019

Respondida:

el 24 de Jun. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by