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
Akram Hourani (2021). Dijkstra's algorithm iterations table (https://www.mathworks.com/matlabcentral/fileexchange/79538-dijkstra-s-algorithm-iterations-table), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.