Graph Theory

Model pairwise relations between objects using vertices and edges


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

  • Creation
    Create graphs, use random edge costs and weights
  • Modification
    Add or remove edges and vertices, modify weights and costs of edges and vertices
  • Analysis
    Costs, weights, and numbers of edges and vertices, chromatic numbers and polynomials, and other graph characteristics