Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

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.

jana

1 Answer

Answer by Image Analyst on 26 May 2013

0 Comments

Image Analyst

Contact us