find the nearest neighbour from source node to destination node

1 回表示 (過去 30 日間)
singh
singh 2015 年 5 月 26 日
回答済み: Image Analyst 2015 年 5 月 26 日
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