conditions on cell arreys

조회 수: 2 (최근 30일)
hadi mostafavi amjad
hadi mostafavi amjad 2020년 11월 8일
답변: Image Analyst 2020년 11월 8일
Hi
can i use this?
if (~isempty(EE_TOT{i,j})) && (INDEX{i,j}(i,j) > 0)
end
i get "Index in position 2 exceeds array bounds (must not exceed 6)" error! I have those two cell arreys and wanna take all values form each cell of "INDEX" and use them to find out which one of this values belong to "EE_TOT" values. So i need to use this condition cuz some of the values in INDEX are equal to "0".

답변 (1개)

Image Analyst
Image Analyst 2020년 11월 8일

카테고리

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