Path: news.mathworks.com!not-for-mail
From: "aasim Azooz" <aasimazooz@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Ignoring an empty array
Date: Wed, 1 Apr 2009 13:28:01 +0000 (UTC)
Organization: Mosul University
Lines: 19
Message-ID: <gqvq51$fhl$1@fred.mathworks.com>
References: <gqvnkf$5q8$1@fred.mathworks.com>
Reply-To: "aasim Azooz" <aasimazooz@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1238592481 15925 172.30.248.35 (1 Apr 2009 13:28:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 1 Apr 2009 13:28:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 277505
Xref: news.mathworks.com comp.soft-sys.matlab:529365


"Phil " <harsh_classic@yahoo.co.uk> wrote in message <gqvnkf$5q8$1@fred.mathworks.com>...
> Hi there.
> 
> Here is my problem. I have 3 arrays, 2 full and one empty in the format below
> 
> [15x1 double]    [0x1 double]    [24x1 double]
> 
> 1.) How can i ignore the empty array
> 
> 2.) But still recognise the order it is in i.e. [15x1 double] = 1st place, [0x1 double] = 2nd place and [24x1 double] = 3rd place.
> 
> Can anyone help?
> 
> Thanks in advance,
> 
> Phil

See help squeeze
Aasim Azooz