Sort Undirected Graph

Version (62.7 KB) by Raphael
Undirected graph sorting


Updated 19 Apr 2017

View License

SORTGRAPH(edgesPath, solutionPath) sorts an undirected graph generated by a colection of objects (the nodes) arranged on a row that connects (the edges) to a random number of adjacent nodes. Example included with output checking.

Cite As

Raphael (2023). Sort Undirected Graph (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Undirected Graphs in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

matlab central - sortGraph/

Version Published Release Notes