MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Statistic analysis of specific matrix elements 

Subject: Statistic analysis of specific matrix elements From: Barry Date: 22 Oct, 2010 08:28:04 Message: 1 of 7 
Hello all, 
Subject: Statistic analysis of specific matrix elements From: Miroslav Balda Date: 22 Oct, 2010 09:13:03 Message: 2 of 7 
"Barry " <brrstvnssn4@googlemail.com> wrote in message <i9rhuk$es4$1@fred.mathworks.com>... 
Subject: Statistic analysis of specific matrix elements From: Barry Date: 22 Oct, 2010 09:44:03 Message: 3 of 7 
Thank you very much for your quick reply and i am sorry for not defining some variables. As i said i have a matrix 250x250, so i just assigned row (1...250) as ypix and column (1..250) as xpix, which stands for pixels. XC and YC are center of each circle (XC,YC). XC(1,i) and YC(1,i) are center for each circle (i=1:6, spot number): R is radius of circle. I want to do statistical calculation only for matrix elements inside each circle but i could not figure out how to take positions (x,y position) of all pixels included in each spot. 
Subject: Statistic analysis of specific matrix elements From: Miroslav Balda Date: 22 Oct, 2010 10:23:03 Message: 4 of 7 
"Barry " <brrstvnssn4@googlemail.com> wrote in message <i9rmd3$n6o$1@fred.mathworks.com>... 
Subject: Statistic analysis of specific matrix elements From: Barry Date: 22 Oct, 2010 10:54:04 Message: 5 of 7 
"Miroslav Balda" <miroslav.nospam@balda.cz> wrote in message <i9rom7$fme$1@fred.mathworks.com>... 
Subject: Statistic analysis of specific matrix elements From: Miroslav Balda Date: 22 Oct, 2010 15:24:03 Message: 6 of 7 
"Barry " <brrstvnssn4@googlemail.com> wrote in message <i9rqgc$8t9$1@fred.mathworks.com>... 
Subject: Statistic analysis of specific matrix elements From: Miroslav Balda Date: 22 Oct, 2010 15:42:04 Message: 7 of 7 
"Miroslav Balda" <miroslav.nospam@balda.cz> wrote in message <i9saaj$a7g$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.