Effacer les filtres
Effacer les filtres

tensor product of two labeled graphs in MATLAB

2 vues (au cours des 30 derniers jours)
Li Xue
Li Xue le 16 Nov 2017
Modifié(e) : Li Xue le 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?

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by