Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!l13g2000yqb.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: EVAL within EVAL
Date: Sun, 1 Nov 2009 19:27:54 -0800 (PST)
Organization: http://groups.google.com
Lines: 11
Message-ID: <c18aae70-b609-444f-9afa-cb27576d39f9@l13g2000yqb.googlegroups.com>
References: <hclda3$slq$1@fred.mathworks.com> <f94955c1-38ae-48ba-a617-984604e29e1a@j11g2000vbi.googlegroups.com> 
	<hclj35$kh4$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1257132474 6432 127.0.0.1 (2 Nov 2009 03:27:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 2 Nov 2009 03:27:54 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l13g2000yqb.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB6; CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 
	3.0.04506.648; .NET CLR 3.5.21022; AskTB5.5),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:581718


Do you want to just get the job done, or be fancy/tricky about it?  If
you know the number and names of the arrays in advance, and you just
want to get it done, then copy and paste works pretty well.
N1(~any(N1,2),:) = [];
N2(~any(N2,2),:) = [];
N3(~any(N3,2),:) = [];
N4(~any(N4,2),:) = [];
N5(~any(N5,2),:) = [];
and so on up to N100.
You could probably do all 100 lines in 2 or 3 minutes.