필터 지우기
필터 지우기

operations on nested cell array

조회 수: 2 (최근 30일)
Aditya
Aditya 2015년 4월 28일
답변: Jan 2015년 4월 28일
Hi
I have a cell array n "5290*1" which further contains cell array such that n{1,1} is a cell size "7*1" and n{1,1}{1,1} is 3*204 elements. How do i access the inner cell array elements if i need to perform operation on them e.g. min? I do not want to run for loop.
Many thanks for your help.

답변 (1개)

Jan
Jan 2015년 4월 28일
You have to do this in a loop. If you do not want to use loops, you need a different structure for the data.
Sometimes CELLFUN helps, but of course this runs loops internally also, so there is no real need to try to "avoid" loops.

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by