2 views (last 30 days)

Show older comments

Chad Greene
on 19 May 2021

There is some confusion because this looks like gridded data. It is unclear why you would want to find the shortest path between gridded data.

Regardless of whether or not the data are gridded, the text of your question suggests that you are talking about a traveling salesman problem. Google that phrase and you may be able to find the solution you're looking for. I know several solutions exist for it on the File Exchange.

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

Start Hunting!