MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > [Q][HURRY!] Counting Cardinality 

Subject: [Q][HURRY!] Counting Cardinality From: Lee Jiwoong Date: 29 Apr, 1999 03:28:46 Message: 1 of 7 
Dear Seniors. This is an urgent problem. 
Subject: [Q][HURRY!] Counting Cardinality From: Dines Justesen Date: 28 Apr, 1999 14:42:40 Message: 2 of 7 
Try y=hist(X,max(X)) 
Subject: [Q][HURRY!] Counting Cardinality From: Stefan Stoll Date: 28 Apr, 1999 20:48:58 Message: 3 of 7 
Lee Jiwoong wrote: 
Subject: [Q][HURRY!] Counting Cardinality From: Ken Davis Date: 28 Apr, 1999 15:57:49 Message: 4 of 7 
I think that diff([0;(find(diff(sort(X(:)))));length(X)]) should give you 
Subject: [Q][HURRY!] Counting Cardinality From: Carsten Fritsch Date: 29 Apr, 1999 10:04:05 Message: 5 of 7 
There is another history function called 'histc' in Matlab, which will not open 
Subject: [Q][HURRY!] Counting Cardinality From: juhas@red.seas.upenn... Date: 29 Apr, 1999 13:53:29 Message: 6 of 7 
Lee Jiwoong (porce@kaist.ac.kr) wrote: 
Subject: [Q][HURRY!] Counting Cardinality From: David Goodmanson Date: 4 May, 1999 12:54:30 Message: 7 of 7 
PAVOL JUHAS wrote: 
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.