This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in cut edge program in MATLAB

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

function programming

0 answers

No answers yet.

Log in to answer this question.