Betweenness Centrality for a vertices in an adjacency matrix
Hello,
I’m trying to calculate the betweenness centrality for all nodes in an adjacency matrix. It is a weighted network. As far as I know, the Input should be the distance matrix which I have obtained from the adjacency matrix.
Then, I found the following code:
http://www.mathworks.com/matlabcentral/fileexchange/10922-matlabbgl/content/matlab_bgl/betweenness_centrality.m
I’m not 100% sure, but I think that this is my solution. However, I’m still new to MatLab and can’t get the code running.
I read some questions about varargin, but I still don’t know what I need to put in here and what is meant by "set_matlab_bgl_options
% for the standard options."
Any help is highly appreciated. I’m currently writing my thesis and desperately need betweenness scores for my network 🙂
Thanks a lot!!!Hello,
I’m trying to calculate the betweenness centrality for all nodes in an adjacency matrix. It is a weighted network. As far as I know, the Input should be the distance matrix which I have obtained from the adjacency matrix.
Then, I found the following code:
http://www.mathworks.com/matlabcentral/fileexchange/10922-matlabbgl/content/matlab_bgl/betweenness_centrality.m
I’m not 100% sure, but I think that this is my solution. However, I’m still new to MatLab and can’t get the code running.
I read some questions about varargin, but I still don’t know what I need to put in here and what is meant by "set_matlab_bgl_options
% for the standard options."
Any help is highly appreciated. I’m currently writing my thesis and desperately need betweenness scores for my network 🙂
Thanks a lot!!! Hello,
I’m trying to calculate the betweenness centrality for all nodes in an adjacency matrix. It is a weighted network. As far as I know, the Input should be the distance matrix which I have obtained from the adjacency matrix.
Then, I found the following code:
http://www.mathworks.com/matlabcentral/fileexchange/10922-matlabbgl/content/matlab_bgl/betweenness_centrality.m
I’m not 100% sure, but I think that this is my solution. However, I’m still new to MatLab and can’t get the code running.
I read some questions about varargin, but I still don’t know what I need to put in here and what is meant by "set_matlab_bgl_options
% for the standard options."
Any help is highly appreciated. I’m currently writing my thesis and desperately need betweenness scores for my network 🙂
Thanks a lot!!! betweenness, graph theory MATLAB Answers — New Questions
​