To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
count=0; j=1; for i=1:ro if(rV(i)>0) rda(j)=i; rca(j)=1; count=0; j=j+1; elseif(count==0) rda(j)=i; rca(j)=0; j=j+1; count=1; else count=1; end; end;
flag=1; k=1; for i=1:j-2 if((rda(i+1)-rda(i))>=12) if(flag==1) ra(k)=rda(i); k=k+1; flag=0; end; else flag=1; ra(k)=rda(i); end end
where ro means number of rows and rv means row variance and rda and rca are normal variable.
[EDITED, Jan, code indented for demonstration]
No products are associated with this question.
It looks like the code functions to produce arrays called ra, rca, and rda. It looks like perhaps some kind of counting or thresholding operation but with no comments it's hard to figure out their intent. Why don't you ask the author, and ask them why they write code with no comments in it? Or ask them what their intent is?