Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Elements comaprison using ALL statement
Date: Fri, 13 May 2011 20:08:05 +0000 (UTC)
Organization: Xoran Technologies
Lines: 9
Message-ID: <iqk334$eka$1@newscl01ah.mathworks.com>
References: <iqjvvp$3dq$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1305317285 14986 172.30.248.46 (13 May 2011 20:08:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 13 May 2011 20:08:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:726703

"Liana" wrote in message <iqjvvp$3dq$1@newscl01ah.mathworks.com>...
> Hi!
> 
> >> if all(X(:) < Y(:))
> This expression sequentially compares each pair of X and Y elements. But  I need to check if each element in X array is smaller than ANY element in Y array. How can I do this?
===============


Hint: bsxfun