Distance Vector Routing algorithm
Version 1.1.0.0 (2.27 KB) by
suriyanath
The code finds shortest path from source to destination node using Distance Vector Routing algorithm
First it asks for number of nodes, then it generates a figure with nodes distributed in space with time delay between nodes. Then it computes shortest path using Distance Vector Routing algorithm as per the theoretical explanation given in Wikipedia link:
"http://en.wikipedia.org/wiki/Distance-vector_routing_protocol".
Cite As
suriyanath (2024). Distance Vector Routing algorithm (https://www.mathworks.com/matlabcentral/fileexchange/46823-distance-vector-routing-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Graph and Network Algorithms in Help Center and MATLAB Answers
Tags
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.