MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Count occurences by row 

Say I have a matrix 
"Namo Namo" <wynamo@yahoo.com> wrote in message <i1q7ng$78g$1@fred.mathworks.com>... 
"Namo Namo" <wynamo@yahoo.com> wrote in message <i1q7ng$78g$1@fred.mathworks.com>... 

Another solution: 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <i1qb9c$oo4$1@fred.mathworks.com>... 
Indeed. Sorry I should have made my question more clear. 
"us " <us@neurol.unizh.ch> wrote in message <i1qcj8$idl$1@fred.mathworks.com>... 
"us " <us@neurol.unizh.ch> wrote in message <i1qcj8$idl$1@fred.mathworks.com>... 
Almost the same solution, but for large size: 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <i1qe3f$ouh$1@fred.mathworks.com>... 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <i1qe3f$ouh$1@fred.mathworks.com>... 
"us " <us@neurol.unizh.ch> wrote in message <i1qhi5$2jl$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.