You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Graph representation - graph2rep (Undirected graphs) (https://www.mathworks.com/matlabcentral/fileexchange/118815-graph-representation-graph2rep-undirected-graphs), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (1.81 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
