How to change cost in matlab function.

3 views (last 30 days)
Mukul Khandelwal
Mukul Khandelwal on 23 Dec 2015
Edited: Walter Roberson on 23 Dec 2015
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.

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!