Dijkstra's algorithm iterations table
Version 1.1 (2.72 KB) by
Akram Hourani
This script prints the iterations of Dijkstra's algorithm. It is intended for educational purposes to learn how Dijkstra's algorithm works
This script prints the iterations of Dijkstra's algorithm. It is intended for educational purposes to learn how Dijkstra's algorithm works. There are three files:
- Dijkstra_Demo: run this one for a quick start
- Dijkstra_table: this is the main function, it is self explanatory
- Dijkstra_print: is to print the results as iterations
Cite As
Akram Hourani (2024). Dijkstra's algorithm iterations table (https://www.mathworks.com/matlabcentral/fileexchange/79538-dijkstra-s-algorithm-iterations-table), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.