Graph representation - graph2rep (Undirected graphs)

Graph to adjacency list and adjacency matrix (Undirected graphs)

3 Downloads

Updated 13 Oct 2022

View License

Graph to adjacency list and adjacency matrix (Undirected graphs):
To externally get the adjacent vertex call the adjacency list per row
Example: nonzeros(adjacency_list(i,:))
Any observations or/and suggestions for improvement of this code send to David Matajira at this email address: david.matajira@icloud.com
Your contribution to improving this code will be acknowledged in revision section in this script and in the MatLab web page of the File Exchange - MATLAB Central - MathWorks
Principal Investigator: Dr. Joel Antonio Trejo Sanchez

Cite As

David Matajira (2023). Graph representation - graph2rep (Undirected graphs) (https://www.mathworks.com/matlabcentral/fileexchange/118815-graph-representation-graph2rep-undirected-graphs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.1

Bugs removed!

1.0.0