help reg this loop what is the content of idxx and and i1 and cnt
Show older comments
idx11=find(initsec==temp(:,2));
t=0;
for i=1:20,
i1=find(i==temp(idx11,8));
if ~isempty(i1)
t=t+1;
cnt(t)=i;
end
end
1 Comment
Roger Stafford
on 4 Feb 2015
I would suggest you execute the code and find out for yourself. It is very simple code.
Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!