Have you tried the steps from here? Because I believe starting from 2015a there are loads of function that might help here.
convert excel file into adjacency matrix
2 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!