MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Counting Genotypes from Alleles 

I am trying to count the number of times a combination of alleles occur in a single matrix. Does anyone know how to write a correct function for this? I have looked into the 'unique' command however it does not seem to give me the correct number. 
"Amanda " <ahulse@tamu.edu> wrote in message <imt4a8$nh$1@fred.mathworks.com>... 
Subject: Counting Genotypes from Alleles From: Florin Neacsu Date: 29 Mar, 2011 17:52:22 Message: 3 of 6 
"Amanda " <ahulse@tamu.edu> wrote in message <imt4a8$nh$1@fred.mathworks.com>... 
Subject: Counting Genotypes from Alleles From: Roger Stafford Date: 29 Mar, 2011 19:27:03 Message: 4 of 6 
"Amanda " <ahulse@tamu.edu> wrote in message <imt4a8$nh$1@fred.mathworks.com>... 
"Florin Neacsu" <fneacsu2@gmail.com> wrote in message <imt68m$4s1$1@fred.mathworks.com>... 
Subject: Counting Genotypes from Alleles From: Florin Neacsu Date: 29 Mar, 2011 21:14:20 Message: 6 of 6 
"Amanda " <ahulse@tamu.edu> wrote in message <imtbuh$f61$1@fred.mathworks.com>... 
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.