Demonstration of Astar (A*)

version (14.9 KB) by Bob Sturm
Pathfinding algorithm Astar (A*)


Updated 21 Feb 2011

View License

How do you find the shortest path from one point to another in a computationally efficient way? The A* algorithm provides one implementation where the distance to the goal is considered as a heuristic in addition to local weightings, and the best path is recovered without combinatorial complexity.

Cite As

Bob Sturm (2022). Demonstration of Astar (A*) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!