convert excel file into adjacency matrix

4 visualizzazioni (ultimi 30 giorni)
melissa mel
melissa mel il 29 Mar 2017
Commentato: Rik il 29 Mar 2017
I have a file containing data (107k records) and I want to convert it into ascendancy matrix is there a way to convert it ? Example
User_Name M_User Total
user 1 user 2 7
user 1 user 3 19
user 1 user 7 5
user 3 user 2 1
user 2 user 7 1
Result
user 1 user 2 user 3 user 7
user 1 0 7 19 5
user 3 0 1 0 0
user 2 0 0 0 1
user 7 0 0 0 0
  1 Commento
Rik
Rik il 29 Mar 2017
Have you tried the steps from here? Because I believe starting from 2015a there are loads of function that might help here.

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by