Network creation-Grid

2 views (last 30 days)
Kinda Chakas
Kinda Chakas on 3 Aug 2020
Answered: Bruno Luong on 3 Aug 2020
How can i create a grid of x and y dimensions, each link joining to adjacent nodes has a speed property?
I want also to search for the shortest path between two different points on the grid, the shortest path is in terms of travel time (travel time is the sum of (the units travelled/speed of each unit).
The path between the nodes should be following the grid;vertical or horizontal between the nodes of grid (no diagonals)

Accepted Answer

Bruno Luong
Bruno Luong on 3 Aug 2020

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!