Path: news.mathworks.com!newsfeed-00.mathworks.com!fu-berlin.de!news.swapon.de!aioe.org!.POSTED!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Cell array
Date: Tue, 11 Mar 2014 03:30:37 -0500
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <lfmhkn$pfk$1@speranza.aioe.org>
References: <lf93c8$qqo$1@newscl01ah.mathworks.com> <lf948g$1h2$1@speranza.aioe.org> <lf9err$mj2$1@newscl01ah.mathworks.com> <lf9h4p$rli$1@newscl01ah.mathworks.com> <lf9unl$b5p$1@speranza.aioe.org> <lfbj28$k4m$1@newscl01ah.mathworks.com> <lfbm14$353$1@speranza.aioe.org> <lfm9fo$hlk$1@newscl01ah.mathworks.com>
NNTP-Posting-Host: zcn9pLJoyKxQELbGKG6mlw.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
X-Notice: Filtered by postfilter v. 0.8.2
Xref: news.mathworks.com comp.soft-sys.matlab:810631

On 3/11/2014 1:12 AM, sudhakar wrote:
...

> Sry, I could not understand. Can you please say with the above example.
> The variable is 300*1 cell array.

What, specifically don't you understand?  The syntax {:,:}(1:anything) 
isn't supported in Matlab.  You can address a cell and sub-reference it 
as (1){1:1}, say.

To apply to multiple cells at a time see

doc cellfun  % maybe

--