Path: news.mathworks.com!newsfeed-00.mathworks.com!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From: Doug Schwarz <see@sig.for.address.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: isnotmember
Date: Mon, 14 May 2012 11:54:54 -0400
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <jor9se$850$1@dont-email.me>
References: <jor9fp$ef6$1@newscl01ah.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 14 May 2012 15:54:54 +0000 (UTC)
Injection-Info: mx04.eternal-september.org; posting-host="xgWUowu5i/VYyULCcf90wg";
	logging-data="8352"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/6uuBKbi84wAGYMvBrJ9V73wnZDYbdJh4="
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
In-Reply-To: <jor9fp$ef6$1@newscl01ah.mathworks.com>
Cancel-Lock: sha1:dW6pu3DMTH9QiHuA2fGudHrVHcw=
Xref: news.mathworks.com comp.soft-sys.matlab:767780

On 5/14/2012 11:48 AM, Ulrik Nash wrote:
> Hi Everyone,
>
> I have looked for the function isnotmember, but there appears to be
> none. I can use ismember to get the needed result, but the way I am
> thinking is surely not the best way (looping through, switching 1's to
> 2's, 0's to 1's, and then 2's, to 0's).
> What is the best way?

~ismember


-- 
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.