How to change cost in matlab function.

I am using A_Star_Search algorithm for finding shortest distance but i want to give cost for left =2 and simple cost is =1 . so that it prefers to go forward rather than left or right.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

질문:

2015년 12월 23일

편집:

2015년 12월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by