Get one dimension of a single in a cell- how to do it?

2 次查看(过去 30 天)
I want to write a code to hold just the third dimension of this 2*1 cell. this 2*1 cell contains two 720*360*365 single, that I want to have only third dimension as a single array. I highlighted what I want in the picture.
thank youCapture.JPG
  5 个评论
Walter Roberson
Walter Roberson 2019-10-26
If the question is how to automatically extract the cell entries into separate variables, such as numbered variables, then we would recommend firmly against doing that.
BN
BN 2019-10-26
编辑:BN 2019-10-26
Yes,
separate_variable = precip{1,1};
is right
thank you the cyclist and Walter, you are awesome, you solved my problem :)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by