Matlab functions to compute network centrality:
Nobelity computes the standard Matlab centrality measure, based on the arithmetic mean distance, but to selected nodes only.
HarmonicCentrality computes an alternative centraliy measure, based on the harmonic mean distance.
HarmonicNobelity computes the harmonic mean distance to selected nodes.
For directed graphs, functions compute either incloseness or outcloseness.
Cite As
Richard Tol (2026). rtol/Centrality (https://github.com/rtol/Centrality), GitHub. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
|
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
