rmnode
Remove node from graph
Syntax
Description
removes the nodes specified byH
= rmnode(G
,nodeIDs
)nodeIDs
from graphG
. Any edges incident upon the nodes innodeIDs
are also removed.rmnode
refreshes the numbering of the nodes inH
, such that if you removed nodek
, then nodes1:k-1
have the same node numbers inH
, and nodesk+1:numnodes(G)
inG
becomek:numnodes(H)
inH
.