MATLAB: How to create undirected weighted graph with multiple sets of node labels and edge weights in MATLAB

graph theorynetworkxundirected graph

Each edge of my graphs has multiple sets of weights. For example, 1) the distance between two nodes and 2) the correlation between these two nodes. Each node of my graphs also has multiple sets of features (attributes or labels). For example, 1) color, 2) acidity and so on.
I do not think the build-in function "graph" can do it. Do I then have to write my own code for it? Is there something in MATLAB that corresponds to networkx in python?

Best Answer

Hi Steven, many thanks for your prompt reply. This is exactly what I am looking for.