how to calculate the edges' weights from a dataset?

3 次查看(过去 30 天)
filename='C:\Program Files\MATLAB\R2016a\bin\Firefox.xlsx'; t=readtable(filename); g = graph(t.Assignee, t.Reporter ); plot(g); by above codes a graph created from my dataset, I attached the dataset and graph here, in the graph picture you see Blake Ross and David Hyatt have one mutual node, Rodrigo de Avila, I want to connect Blake Ross and David Hyatt directly and their connecting edge has the weight 1, because they have one mutual node. with regards to the dataset are there any ways to create this weighted edge? I'll be very grateful to have your point of view.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by