Stuart’s MATLAB Videos

Watch and Learn

Shortest Path Between Two Web Pages

I want to find how you get to a particular web page on our website from another one, i.e. what series of links do you need to click. I have a list of all pages and the links between them, so I can construct a directed graph with the digraph function. I then should be able to use other MATLAB graph functions for finding the shortest path between the nodes.

Features covered in this code-along style video include:

  • digraph
  • shortest

Play the video in full screen mode for a better viewing experience. 

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.