graph theory - remove several edges
Ältere Kommentare anzeigen
Hi all, I have graph consists of 37 edges and 33 nodes, I want to remove some edges . removing 1 edge works with me
R33=graph(A33);
G = rmedge(R33,18,33) ; % remove branch from node 18 to 33
plot(G)
However, when i tried to remove several edges it did not work. can any one help
R33=graph(A33);
G = rmedge(R33, [18 33], [25 29], [12 22]) ; % could not remove these branches 18-33 , 25-29 , 12-22
plot(G)
can anyone help
thank you
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!