tensor product of two labeled graphs in MATLAB

2 views (last 30 days)
Li Xue
Li Xue on 16 Nov 2017
Edited: Li Xue on 16 Nov 2017
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?

Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!