MATLAB Answers

jana

Label correcting algorithm for shortest path

Asked by jana
on 26 May 2013

Can any body provide a code for label correcting algorithm for shortest path. Thankyou!

  6 Comments

jana
on 27 May 2013

Regarding the second question: Yes I still need to find the shortest path.

Walter Roberson
on 27 May 2013
LIST = [1];    %initialize
...
i = LIST(1);   %take out element
LIST(1) = [];
...
if ~ismember(j, LIST); LIST(end+1) = j; end   %add j if it is not there
jana
on 28 May 2013

thankyou! that was of great help.

1 Answer

Answer by Image Analyst
on 26 May 2013

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today