Entering edit mode
3.1 years ago
Abhinav
•
0
i'M GETTING ERROR AT THE END OF THE CODE: The logical indices contain a true value outside of the array bounds.
s=[1 1 1 2 4 4 5]
t=[2 3 4 3 5 6 6]
network=[s' t']
c1=[1 2 3]
for i=1:length(c1)
h1=find(network(:,1)==c1(i))
nn=network(h1,:)
end
Please help asap