This is an extensive suite of functions for working with simple graphs (undirected graphs without loops or multiple edges). It includes three new classes: graph, permutation, partition. A few of the functions require the Optimization Toolbox.
PLEASE READ THE DOCUMENTATION because graph objects are defined in an unusual way that makes passing them to functions efficient and enables functions to modify their graph argument. See http://www.ams.jhu.edu/~ers/matgraph/
Ed Scheinerman (2020). Matgraph (https://www.mathworks.com/matlabcentral/fileexchange/19218-matgraph), MATLAB Central File Exchange. Retrieved .
Could you please guide how to add the matgraph in my matlab path. I tried to add the folder as addpath(genpath(pwd)), where pwd is the folder which has matgraph folder. It seems that it does not add subfolders.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!