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

 Risposta accettata

madhan ravi
madhan ravi il 24 Giu 2019
Modificato: madhan ravi il 24 Giu 2019

0 voti

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

4 Commenti

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.
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.
Jonas Haupt's answer moved here:
For that i use cellfun and padarray right?
Yes, one of the possible ways.

Accedi per commentare.

Più risposte (1)

Jonas Haupt
Jonas Haupt il 24 Giu 2019

0 voti

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

Community Treasure Hunt

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

Start Hunting!

Translated by