MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > count how many times each set of number occurs 

Subject: count how many times each set of number occurs From: Jemma Geoghegan Date: 18 Aug, 2010 01:26:05 Message: 1 of 13 
Suppose I have an output which is a vector containing 4 numbers, which is set to loop 5 times eg. 
Subject: count how many times each set of number occurs From: Grzegorz Date: 18 Aug, 2010 08:49:05 Message: 2 of 13 
"Jemma Geoghegan" <jemma.geoghegan@gmail.com> wrote in message <i4fcrd$j7f$1@fred.mathworks.com>... 
Subject: count how many times each set of number occurs From: J G Date: 18 Aug, 2010 22:39:06 Message: 3 of 13 
Thank you so much Grzegorz! 
Subject: count how many times each set of number occurs From: J G Date: 18 Aug, 2010 23:47:19 Message: 4 of 13 
Hi Grzegorz, I just have one quick question if you don't mind... 
Subject: count how many times each set of number occurs From: Walter Roberson Date: 19 Aug, 2010 02:55:22 Message: 5 of 13 
J G wrote: 
Subject: count how many times each set of number occurs From: Walter Roberson Date: 19 Aug, 2010 02:56:44 Message: 6 of 13 
J G wrote: 
Subject: count how many times each set of number occurs From: Walter Roberson Date: 19 Aug, 2010 03:00:18 Message: 7 of 13 
J G wrote: 
Subject: count how many times each set of number occurs From: Walter Roberson Date: 19 Aug, 2010 03:03:47 Message: 8 of 13 
Walter Roberson wrote: 
Subject: count how many times each set of number occurs From: Walter Roberson Date: 19 Aug, 2010 03:04:11 Message: 9 of 13 
Walter Roberson wrote: 
Subject: count how many times each set of number occurs From: Jos (10584) Date: 19 Aug, 2010 11:14:05 Message: 10 of 13 
"Grzegorz " <gknor@o2.pl> wrote in message <i4g6q1$74$1@fred.mathworks.com>... 
Subject: count how many times each set of number occurs From: Matt Fig Date: 19 Aug, 2010 12:27:04 Message: 11 of 13 
"Jos (10584) " <#10584@fileexchange.com> wrote in message 
Subject: count how many times each set of number occurs From: Jos (10584) Date: 19 Aug, 2010 13:13:07 Message: 12 of 13 
"Matt Fig" <spamanon@yahoo.com> wrote in message <i4j7uo$rus$1@fred.mathworks.com>... 
Subject: count how many times each set of number occurs From: J G Date: 19 Aug, 2010 23:05:09 Message: 13 of 13 
Thank you for your help. How do I make it so each output is in a different column in the table? 
No tags are associated with this thread.
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.