Removal of the the edges from the node of a graph

2 Ansichten (letzte 30 Tage)
Szabolcs Mihály
Szabolcs Mihály am 27 Sep. 2022
Kommentiert: Szabolcs Mihály am 28 Sep. 2022
I have an undirected graph where I need to remove all the edges of a specified node. I tried to regenerate the graph without the specific node, but it was taking too much time. How can I do it without regenerating?
Thank you!

Akzeptierte Antwort

Matt J
Matt J am 27 Sep. 2022
Bearbeitet: Matt J am 27 Sep. 2022
You want to remove the edges but keep the node itself? If so,
If you want to remove the node and its edges, it should be enough to do,

Weitere Antworten (0)


Mehr zu Graph and Network Algorithms finden Sie in Help Center und File Exchange





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by