tensor product of two labeled graphs in MATLAB
2 views (last 30 days)
Show older comments
I have two undirected graphs G1 and G2, they are both node weighted graphs. The label of each node of G1 or G2 is a vector of 3 by 1. I want to create a graph Gx which is the tensor product of G1 and G2. The weight of a node of Gx is the sum of (element difference)^2 of the corresponding nodes from G1 and G2. How can I do this using MATLAB?
0 Comments
Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!