convert excel file into adjacency matrix

4 Ansichten (letzte 30 Tage)
melissa mel
melissa mel am 29 Mär. 2017
Kommentiert: Rik am 29 Mär. 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 Kommentar
Rik
Rik am 29 Mär. 2017
Have you tried the steps from here? Because I believe starting from 2015a there are loads of function that might help here.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by