Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: comparison of cell entries
Date: Wed, 8 Aug 2007 14:05:21 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 20
Message-ID: <f9cij1$b8l$1@fred.mathworks.com>
References: <f9cabu$k9r$1@fred.mathworks.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186581921 11541 172.30.248.36 (8 Aug 2007 14:05:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 8 Aug 2007 14:05:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:422966


Corinna Schmitt:
<SNIP wants to remove the little guys...

> Now I want to delete those rows where in column 9 nothing 
stands...

one of the many solutions

% some data
     c{1,1}=1:10;
     c{2,1}=1:5;
     c{3,1}=1:15;
     c{4,1}=1:20;
% the engine
     len=cellfun(@length,c);
     c(len<10)=[];
% the result
     c

us