Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Extract subgraph

`H = subgraph(G,nodeIDs)`

`H = subgraph(G,idx)`

`digraph`

| `graph`

| `reordernodes`