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

 采纳的回答

madhan ravi
madhan ravi 2019-6-24
编辑:madhan ravi 2019-6-24

0 个投票

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

4 个评论

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.

请先登录,再进行评论。

更多回答(1 个)

Jonas Haupt
Jonas Haupt 2019-6-24

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by