필터 지우기
필터 지우기

Accessing data in 4D CELL

조회 수: 1 (최근 30일)
ErikaZ
ErikaZ 2018년 8월 4일
댓글: ErikaZ 2018년 8월 4일
I have a 4D cell with the following sizes A{17,10,16,10}(2,3). However, it only contains data on:
% A{d,sw,hLS,cv}
d=[10 11];
sw= [5 6];
hLS = [9 10];
cv = 1:10
and inside it has a cell [2x3 double].
The rest are empy as: (1,1,1,1)
A(1,1,1,1) =
cell
{[]}
I would like to copy the single values of A{10:11,5:6,9:10,1}(1,1) into a 3D array of 2x2x2.
Thanks!
  댓글 수: 2
Stephen23
Stephen23 2018년 8월 4일
@ErikaZ: please upload your variable in a .mat file by clicking the paperclip button.
ErikaZ
ErikaZ 2018년 8월 4일
Done!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by