Main Content
rmnode
Remove node from graph
Syntax
Description
removes the nodes specified by H
= rmnode(G
,nodeIDs
)nodeIDs
from graph
G
. Any edges incident upon the nodes in
nodeIDs
are also removed. rmnode
refreshes
the numbering of the nodes in H
, such that if you removed node
k
, then nodes 1:k-1
have the same node
numbers in H
, and nodes k+1:numnodes(G)
in
G
become k:numnodes(H)
in
H
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2015b