cnt=0;
cnt2=0;
ind = [1 2 3 4 5 -win:win];
for i=1:length(Ndya)
for j=1:Nepi
if ~isempty(data(i,j).MOM)
if ~isempty(data(i,j).BABY)
cnt=cnt+1;
OUTcrqa(cnt,:) = [i j data(i,j).crqa];
OUTlagp(cnt,:) = [i j data(i,j).crqaBS];
for k = 1:max(size(data(i,j).crqaCI))
cnt2=cnt2+1;
OUTcrqaCI(cnt2,:) = [i j data(i,j).crqaCI(k,:) ind(k)];
end
end
end
end
end
cd(yourpath)
save('CRQAoutput.mat')
hdr1={'dyad','episode','RR','DET','<L>','Lmax','ENTR','LAM','TT','Vmax','T1','T2','RTE','Clust','Trans'};
writeM2T(OUTcrqa,'outCRQA.dat',hdr1,[],[],'w')
writeM2T(OUTlagp,'outLAGPcrqad.dat',[],[],[],'w')
hdr3={'dyad','episode','CI_U','CI_L','Measure'};
writeM2T(OUTcrqaCI,'outBSCI.dat',hdr3,[],[],'w')
댓글 수: 8
Erik S. (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_266989
Akhila (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_266997
Erik S. (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_266998
Akhila (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_267003
Erik S. (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_267004
Akhila (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_267011
Erik S. (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_267014
Akhila (view profile)
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/179122-subscripted-assignment-dimension-mismatch#comment_267018
로그인 to comment.