Error in cut edge program in MATLAB
0
0
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

function programming • 503 views
ADD COMMENT

Login before adding your answer.

Traffic: 2618 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6