From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how many times repeat a number in an array??
Date: Wed, 19 Nov 2008 01:51:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <gfvre5$a62$>
References: <gfvq4u$goe$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1227059462 10434 (19 Nov 2008 01:51:02 GMT)
NNTP-Posting-Date: Wed, 19 Nov 2008 01:51:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:501625

"Maria " <> wrote in message <gfvq4u$goe$>...
> i have a function that gets from the user a random using the unique function i have a unique list with the arguments of the vector.with out using loop how do i find the times which a number is repeat in the array
> Any help??

Check on the function 'histc'.

Roger Stafford