MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Getting indexes of rows of matrix with more than n... 

Subject: Getting indexes of rows of matrix with more than n repetitions From: Sudheer Tumu Date: 5 Jan, 2010 03:57:02 Message: 1 of 56 
Hi All, 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 5 Jan, 2010 08:34:04 Message: 2 of 56 
"Sudheer Tumu" <tumusudheer@gmail.com> wrote in message <hhudae$4p$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Sudheer Tumu Date: 5 Jan, 2010 18:58:05 Message: 3 of 56 
"us " <us@neurol.unizh.ch> wrote in message <hhuths$led$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 00:12:05 Message: 4 of 56 
Dear Sudheer! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 07:19:06 Message: 5 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hi0kgl$c56$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 07:48:02 Message: 6 of 56 
"Sudheer Tumu" 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 07:49:06 Message: 7 of 56 
"Jan Simon" 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jos (10584) Date: 6 Jan, 2010 08:04:07 Message: 8 of 56 
"us " <us@neurol.unizh.ch> wrote in message <hi1f7i$plv$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 09:02:06 Message: 9 of 56 
"Jos (10584) " 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jos (10584) Date: 6 Jan, 2010 09:36:23 Message: 10 of 56 
"us " <us@neurol.unizh.ch> wrote in message <hi1jie$4bp$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 12:05:21 Message: 11 of 56 
Dear Sudheer! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jos (10584) Date: 6 Jan, 2010 13:25:20 Message: 12 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 13:48:05 Message: 13 of 56 
"Jos (10584) " <#10584@fileexchange.com> wrote in message <hi2300$6dk$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 14:12:04 Message: 14 of 56 
Dear Jos! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jos (10584) Date: 6 Jan, 2010 15:08:02 Message: 15 of 56 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hi24al$3ig$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Matt Fig Date: 6 Jan, 2010 17:00:21 Message: 16 of 56 
"Jos (10584) " <#10584@fileexchange.com> wrote in message <hi290i$dsp$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 17:14:20 Message: 17 of 56 
"Matt Fig" 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Matt Fig Date: 6 Jan, 2010 17:53:04 Message: 18 of 56 
"us " <us@neurol.unizh.ch> wrote in message 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 18:24:04 Message: 19 of 56 
"Matt Fig" <spamanon@yahoo.com> wrote in message <hi2im0$fbd$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 18:55:22 Message: 20 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hi25nk$5lo$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 19:50:19 Message: 21 of 56 
Dear Matt! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 21:01:21 Message: 22 of 56 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hi2kg4$b73$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 21:07:02 Message: 23 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 21:18:02 Message: 24 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hi2phr$5nj$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 21:25:22 Message: 25 of 56 
But us, isn't the test unfair when the variable a_i is not properly cleared? 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 21:29:06 Message: 26 of 56 
Dear us! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 21:31:21 Message: 27 of 56 
"us " <us@neurol.unizh.ch> wrote in message <hi2uma$77g$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 21:48:04 Message: 28 of 56 
btw, does the behavior when calling 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 21:54:03 Message: 29 of 56 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hi2v42$535$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 22:03:04 Message: 30 of 56 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hi2vf9$r8f$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 22:20:21 Message: 31 of 56 
"us " <us@neurol.unizh.ch> wrote in message <hi30pr$nku$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 6 Jan, 2010 22:27:02 Message: 32 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 6 Jan, 2010 22:42:03 Message: 33 of 56 
"Bruno Luong" 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 6 Jan, 2010 23:45:23 Message: 34 of 56 
"us " <us@neurol.unizh.ch> wrote in message <hi33jr$o4r$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Matt Fig Date: 7 Jan, 2010 00:22:06 Message: 35 of 56 
Wow, I didn't realize what a hornets nest my simple question would kick up. ;) 
Subject: Getting indexes of rows of matrix with more than n repetitions From: us Date: 7 Jan, 2010 00:57:03 Message: 36 of 56 
"Bruno Luong" 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Matt Fig Date: 7 Jan, 2010 04:16:03 Message: 37 of 56 
"us " <us@neurol.unizh.ch> wrote in message 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Doug Schwarz Date: 7 Jan, 2010 04:49:32 Message: 38 of 56 
In article <hi3bgv$bc1$1@fred.mathworks.com>, 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jos (10584) Date: 7 Jan, 2010 06:53:05 Message: 39 of 56 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 7 Jan, 2010 07:40:23 Message: 40 of 56 
"Jos (10584) " <#10584@fileexchange.com> wrote in message <hi40ch$68p$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 7 Jan, 2010 08:48:05 Message: 41 of 56 
Dear Sudheer! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 7 Jan, 2010 12:37:05 Message: 42 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hi4745$erg$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 7 Jan, 2010 13:17:23 Message: 43 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 11:47:04 Message: 44 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hi2u1m$pg5$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 11:56:04 Message: 45 of 56 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hi9qbn$qmn$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 9 Jan, 2010 13:11:04 Message: 46 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 14:43:03 Message: 47 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hi9v98$qr5$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 14:50:04 Message: 48 of 56 
Arrg forget it, the test is not valid. Sorry. 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 9 Jan, 2010 16:29:03 Message: 49 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 19:06:03 Message: 50 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hiaasf$mge$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 19:07:02 Message: 51 of 56 
Code for you Jan: 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 9 Jan, 2010 19:28:04 Message: 52 of 56 

Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 9 Jan, 2010 22:59:04 Message: 53 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 10 Jan, 2010 12:30:19 Message: 54 of 56 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hib1no$q8a$1@fred.mathworks.com>... 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Jan Simon Date: 10 Jan, 2010 18:29:03 Message: 55 of 56 
Dear Bruno! 
Subject: Getting indexes of rows of matrix with more than n repetitions From: Bruno Luong Date: 10 Jan, 2010 22:06:03 Message: 56 of 56 
There are few bugs in my previous indexing sorting code. Here is a new one. The default quicksort is out: none of the pivoting strategy I tested is completely satisfied. 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.