help reg this loop what is the content of idxx and and i1 and cnt

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

I would suggest you execute the code and find out for yourself. It is very simple code.

Sign in to comment.

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Asked:

on 4 Feb 2015

Commented:

on 4 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!