Graph and Digraph Classes
Model networks, connections, and relationships with new MATLAB® datatypes for directed and undirected graphs. Graphs are applicable to a wide variety of physical, biological, and information systems. They can model neurons, flight patterns, circuits, social networks, systemic risk and more.
This video introduces new datatypes in MATLAB: graphs and digraphs. These datatypes provide easy interfaces for creation, analysis, and visualization. In the video, you will learn to:
- Create graphs from edge lists and adjacency matrices
- Visualize graphs with multiple layouts and customizations
- Calculate common graph properties such as degree and weighted distance
- Generate shortest path trees and minimum spanning trees
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.