All possible path between two points

Find all possible path between 3 and 6?
s= 7 7 7 8 9 8 8 8 9 9
t= 1 1 2 2 3 4 4 5 5 6

More Answers (1)

allpath introduced in R2021a will do.
For older release I posted a code here

Categories

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

Products

Tags

Community Treasure Hunt

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

Start Hunting!