There are 8 radionodes that can send packet to each other. Nodes randomly distributed in 2d. Packet loss is depends on distance between nodes. Task is to find best routs that connects 1st node with each of rest nodes. Nodes can resend packets.
test1_random_nodes.m - main script, run to display routs
dijkstra.m - auxilary function, find optimal routs with dijkstra's algorithm.
wight_formula.docx - explains wights formula
Maxim Vedenyov (2023). distributed radio net (https://www.mathworks.com/matlabcentral/fileexchange/42951-distributed-radio-net), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!