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

New to MATLAB?

Label correcting algorithm for shortest path

Asked by jana

jana (view profile)

on 26 May 2013

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

6 Comments

jana

jana (view profile)

on 27 May 2013

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

Walter Roberson

Walter Roberson (view profile)

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

jana (view profile)

on 28 May 2013

thankyou! that was of great help.

jana

jana (view profile)

1 Answer

Answer by Image Analyst

Image Analyst (view profile)

on 26 May 2013

0 Comments

Image Analyst

Image Analyst (view profile)

Contact us