Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!p35g2000yqh.googlegroups.com!not-for-mail
From: arun <aragorn168b@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: extract numbers
Date: Sun, 11 Oct 2009 17:13:50 -0700 (PDT)
Organization: http://groups.google.com
Lines: 18
Message-ID: <2e6fbec5-bc46-4956-b93b-0658769ae210@p35g2000yqh.googlegroups.com>
References: <hatns0$7vr$1@fred.mathworks.com>
NNTP-Posting-Host: 134.2.162.109
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1255306430 8962 127.0.0.1 (12 Oct 2009 00:13:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 12 Oct 2009 00:13:50 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p35g2000yqh.googlegroups.com; posting-host=134.2.162.109; 
	posting-account=fyqXpgoAAABqt-0BifyaNxmZhzggFACu
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) 
	AppleWebKit/531.9 (KHTML, like Gecko) NetNewsWire/3.2.1,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:576580


On Oct 12, 12:57 am, "John " <john.k.jac...@hotmail.com> wrote:
> Hi
>
> I have matrix of 3000 numbers, and those numbers are from 1 to 10 and they are repeated in a random way, what I am trying to extract them with no repeation, in other words I want to extract another matrix with the numbers between 1 to 10 only
>
> Thanks
> john

I guess you want the unique numbers from your original vector of 3000
entries??
type in command window,

help unique

best, arun.