Azzera filtri
Azzera filtri

tensor product of two labeled graphs in MATLAB

2 visualizzazioni (ultimi 30 giorni)
Li Xue
Li Xue il 16 Nov 2017
Modificato: Li Xue il 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?

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by