A* (A Star) search for path planning tutorial

A tutorial that presents the A* search algorithm for determining the shortest path to a target.

You are now following this Submission

The A* search algorithm is a simple and effective technique that can be used to compute the shortest path to a target location. This tutorial presents a detailed description of the algorithm and an interactive demo.

Cite As

Paul Premakumar (2026). A* (A Star) search for path planning tutorial (https://uk.mathworks.com/matlabcentral/fileexchange/26248-a-a-star-search-for-path-planning-tutorial), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Shortest route on a map

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.1

Updated license

1.2.0.0

copyright