find the nearest neighbour from source node to destination node

1 view (last 30 days)
hello guys, i wish to find the only one less cost path to reach the destination node through neighbor nodes.

Answers (1)

Image Analyst
Image Analyst on 26 May 2015
If you have the Image Processing Toolbox, you can use bwdistgeodesic. See Steve's blog: http://blogs.mathworks.com/steve/2011/11/01/exploring-shortest-paths-part-1/

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!