find the nearest neighbour from source node to destination node

1 次查看(过去 30 天)
hello guys, i wish to find the only one less cost path to reach the destination node through neighbor nodes.

回答(1 个)

Image Analyst
Image Analyst 2015-5-26
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!

Translated by