image thumbnail

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

1.4K Downloads

Updated 09 Jun 2014

View License

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 (2022). 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 Linux

Community Treasure Hunt

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

Start Hunting!